Trend-Following Backtester · Guide · backtest 한국어
equity · NZ
Mainfreight Limited backtest
10 trend-following strategies were compared on the full daily history of Mainfreight Limited. 2 beat buy-and-hold CAGR; EMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is SMA 크로스오버 (CAGR 15.0%, MDD -35.6%).
Results by strategy
2 of 10 beat buy and hold (CAGR 14.1%, drawdown -59.5%).
Sharpe leader (same as main): EMA 크로스오버 — CAGR 14.9%, MDD -39.2%, Sharpe 0.88, 66% exposure.
CAGR reference leader: SMA 크로스오버 — CAGR 15.0%, MDD -35.6%, exposure 65%.
Return/drawdown alternative: SMA 크로스오버 — CAGR is 0.9%p higher than buy and hold, while drawdown improves by 20.4%p (CAGR 15.0%, MDD -35.6%, 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 |
|---|---|---|---|---|---|---|---|
| EMA 크로스오버 fast=47, slow=159 |
14.9% | -39.2% | 0.88 | 0.38 | 41.1x | 27 | 66% |
| SMA 크로스오버 fast=42, slow=198 |
15.0% | -35.6% | 0.87 | 0.42 | 42.2x | 31 | 65% |
| Donchian 채널 돌파 entryN=115, exitN=71 |
13.9% | -42.3% | 0.85 | 0.33 | 32.7x | 27 | 59% |
| ROC 모멘텀 n=167, threshold=0.07 |
12.4% | -39.8% | 0.80 | 0.31 | 22.5x | 118 | 55% |
| Keltner 채널 돌파 emaPeriod=58, atrPeriod=21, mult=4 |
9.1% | -30.5% | 0.70 | 0.30 | 10.4x | 68 | 40% |
| 볼린저 밴드 돌파 n=59, k=1.6 |
9.3% | -43.2% | 0.66 | 0.22 | 10.7x | 102 | 47% |
| Supertrend period=26, mult=4.1 |
10.4% | -52.2% | 0.63 | 0.20 | 14.0x | 137 | 63% |
| ADX / DI 방향성 period=37, threshold=10 |
8.6% | -37.6% | 0.57 | 0.23 | 9.1x | 214 | 57% |
| Parabolic SAR step=0.005, maxStep=0.2 |
6.3% | -57.3% | 0.42 | 0.11 | 5.1x | 188 | 58% |
| MACD fast=17, slow=50, signal=18 |
-0.0% | -58.4% | 0.08 | -0.00 | 1.0x | 330 | 48% |
| Buy and hold | 14.1% | -59.5% | 0.64 | 0.24 | 33.6x | 1 | 100% |
Rules of the top strategy
Uses two exponential averages (more weight on recent prices) and trades their crossover.
- Buy — Buy when the 47-day EMA crosses above the 159-day EMA
- Sell — Sell when the 47-day EMA falls below the 159-day EMA