Trend-Following Backtester · Guide · backtest 한국어

equity · MX

Grupo Herdez SAB de CV backtest

10 trend-following strategies were compared on the full daily history of Grupo Herdez SAB de CV. 0 beat buy-and-hold CAGR; EMA 크로스오버 ranks first by Sharpe, matching the main backtester.

Data 2002-07-15 ~ 2026-07-31daily bars 6,083 (24.0 years)Costs 0.5%Venue BMVMonthly snapshot 2026-07-31

Results by strategy

0 of 10 beat buy and hold (CAGR 11.3%, drawdown -57.9%).

Sharpe leader (same as main): EMA 크로스오버 — CAGR 10.6%, MDD -53.8%, Sharpe 0.47, 66% exposure.

No strategy retained at least 75% of buy-and-hold CAGR while reducing drawdown by both 20% relatively and 5 percentage points absolutely.

The alternative must retain 75% of buy-and-hold CAGR, improve drawdown by at least 20% and 5 percentage points, and stay below 95% exposure; the ranking weights return retention 60% and drawdown improvement 40%.

Strategy · parametersCAGRMDDSharpeCalmarTotalTradesExposure
EMA 크로스오버
fast=60, slow=201
10.6%-53.8%0.470.2011.3x2266%
SMA 크로스오버
fast=30, slow=281
10.5%-48.2%0.470.2211.0x2666%
ADX / DI 방향성
period=51, threshold=18
7.4%-39.7%0.390.195.6x4638%
Donchian 채널 돌파
entryN=62, exitN=179
7.6%-54.4%0.380.145.8x2073%
Supertrend
period=21, mult=4.5
1.7%-51.7%0.220.031.5x6061%
Parabolic SAR
step=0.005, maxStep=0.14
-0.8%-67.6%0.13-0.010.8x16661%
ROC 모멘텀
n=132, threshold=-0.03
-3.5%-88.9%0.08-0.040.4x19269%
Keltner 채널 돌파
emaPeriod=59, atrPeriod=24, mult=3.1
-0.9%-60.2%0.07-0.010.8x5224%
볼린저 밴드 돌파
n=43, k=3.5
-0.3%-48.9%0.06-0.010.9x3010%
MACD
fast=39, slow=42, signal=28
-5.5%-84.0%-0.00-0.070.3x17751%
Buy and hold11.3%-57.9%0.460.2013.2x1100%
1x 10x 2003 2006 2009 2012 2015 2018 2021 2024 EMA 크로스오버Buy and hold
EMA 크로스오버: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -14% -29% -43% -58% 2003 2006 2009 2012 2015 2018 2021 2024 Buy and holdEMA 크로스오버
EMA 크로스오버 maximum drawdown -53.8% (2013-12-27 → 2020-10-28), recovered after 4,358 days.

Rules of the top strategy

Uses two exponential averages (more weight on recent prices) and trades their crossover.

Method and caveats

Past performance does not guarantee future returns. Parameters were selected on the same full-history sample using sharpe over 40 trials per strategy, so results contain in-sample bias. 0.5% trading costs are included; taxes, slippage and rejected orders are not.
Re-run the same setupAll asset reports

Read next