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. 1 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is SMA 크로스오버 (CAGR 11.7%, MDD -44.2%).
Results by strategy
1 of 10 beat buy and hold (CAGR 11.6%, drawdown -57.9%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 11.7%, MDD -44.2%, Sharpe 0.50, 65% exposure.
Return/drawdown alternative: SMA 크로스오버 — CAGR is 0.1%p higher than buy and hold, while drawdown improves by 13.7%p (CAGR 11.7%, MDD -44.2%, exposure 65%).
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 · parameters | CAGR | MDD | Sharpe | Calmar | Total | Trades | Exposure |
|---|---|---|---|---|---|---|---|
| SMA 크로스오버 fast=34, slow=212 |
11.7% | -44.2% | 0.50 | 0.26 | 14.6x | 30 | 65% |
| EMA 크로스오버 fast=42, slow=167 |
9.2% | -47.0% | 0.44 | 0.20 | 8.5x | 26 | 65% |
| ADX / DI 방향성 period=42, threshold=19 |
8.4% | -40.0% | 0.43 | 0.21 | 7.1x | 50 | 36% |
| Donchian 채널 돌파 entryN=63, exitN=184 |
7.5% | -54.4% | 0.37 | 0.14 | 5.7x | 20 | 72% |
| Supertrend period=25, mult=4.5 |
1.9% | -49.5% | 0.22 | 0.04 | 1.6x | 61 | 59% |
| Keltner 채널 돌파 emaPeriod=59, atrPeriod=12, mult=3.7 |
0.7% | -46.0% | 0.13 | 0.02 | 1.2x | 40 | 20% |
| Parabolic SAR step=0.005, maxStep=0.32 |
-0.8% | -68.4% | 0.13 | -0.01 | 0.8x | 167 | 60% |
| ROC 모멘텀 n=146, threshold=0 |
-2.9% | -88.1% | 0.08 | -0.03 | 0.5x | 212 | 63% |
| 볼린저 밴드 돌파 n=57, k=3.2 |
-0.6% | -46.2% | 0.06 | -0.01 | 0.9x | 42 | 18% |
| MACD fast=28, slow=44, signal=35 |
-5.0% | -83.8% | 0.01 | -0.06 | 0.3x | 183 | 51% |
| Buy and hold | 11.6% | -57.9% | 0.46 | 0.20 | 14.3x | 1 | 100% |
Rules of the top strategy
When the short average rises above the long average, it reads that as an uptrend starting.
- Buy — Buy when the 34-day average price crosses above the 212-day average
- Sell — Sell (to cash) when the 34-day average falls below the 212-day average