Trend-Following Backtester · Guide · backtest 한국어

equity · MX

Wal-Mart de Mexico SAB de CV backtest

10 trend-following strategies were compared on the full daily history of Wal-Mart de Mexico SAB de CV. 1 beat buy-and-hold CAGR; ROC 모멘텀 ranks first by Sharpe, matching the main backtester. Its 100% market exposure makes it hold-like.

Data 2003-01-01 ~ 2026-07-31daily bars 5,961 (23.6 years)Costs 0.5%Venue BMVMonthly snapshot 2026-07-31

Results by strategy

1 of 10 beat buy and hold (CAGR 9.5%, drawdown -43.9%).

Sharpe leader (same as main): ROC 모멘텀 — CAGR 9.7%, MDD -43.9%, Sharpe 0.48, 100% exposure. With at least 95% exposure, it should be treated as hold-like, not strong evidence of timing skill.

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
ROC 모멘텀
Hold-like · Exposure 100%
n=1, threshold=-0.12
9.7%-43.9%0.480.228.8x3100%
Donchian 채널 돌파
entryN=22, exitN=129
6.6%-52.2%0.390.134.5x3084%
SMA 크로스오버
fast=41, slow=165
4.8%-41.5%0.340.123.0x4260%
EMA 크로스오버
fast=53, slow=101
4.0%-49.9%0.300.082.5x4462%
ADX / DI 방향성
period=48, threshold=17
1.6%-18.3%0.210.091.4x3816%
Supertrend
period=8, mult=5
2.2%-60.2%0.210.041.7x5463%
볼린저 밴드 돌파
n=56, k=3.2
0.3%-24.7%0.080.011.1x2812%
Keltner 채널 돌파
emaPeriod=38, atrPeriod=26, mult=2.7
-2.0%-68.2%-0.11-0.030.6x8823%
MACD
fast=15, slow=71, signal=23
-5.8%-86.7%-0.23-0.070.2x26749%
Parabolic SAR
step=0.005, maxStep=0.2
-9.0%-91.8%-0.41-0.100.1x23352%
Buy and hold9.5%-43.9%0.480.228.5x1100%
1x 10x 2004 2007 2010 2013 2016 2019 2022 2025 ROC 모멘텀Buy and hold
ROC 모멘텀: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -11% -22% -33% -44% 2004 2007 2010 2013 2016 2019 2022 2025 Buy and holdROC 모멘텀
ROC 모멘텀 maximum drawdown -43.9% (2007-02-07 → 2009-03-02), recovered after 947 days.

Rules of the top strategy

Rides the trend when recent return (momentum) over a window is above a threshold.

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