Trend-Following Backtester · Guide · backtest 한국어
equity · NZ
a2 Milk Company Limited backtest
10 trend-following strategies were compared on the full daily history of a2 Milk Company Limited. 2 beat buy-and-hold CAGR; EMA 크로스오버 ranks first by Sharpe, matching the main backtester.
Results by strategy
2 of 10 beat buy and hold (CAGR 14.2%, drawdown -90.0%).
Sharpe leader (same as main): EMA 크로스오버 — CAGR 20.8%, MDD -72.3%, Sharpe 0.64, 55% exposure.
CAGR reference leader: SMA 크로스오버 — CAGR 23.3%, MDD -74.5%, exposure 54%.
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 · parameters | CAGR | MDD | Sharpe | Calmar | Total | Trades | Exposure |
|---|---|---|---|---|---|---|---|
| EMA 크로스오버 fast=44, slow=213 |
20.8% | -72.3% | 0.64 | 0.29 | 74.0x | 20 | 55% |
| SMA 크로스오버 fast=70, slow=132 |
23.3% | -74.5% | 0.63 | 0.31 | 116.3x | 36 | 54% |
| Donchian 채널 돌파 entryN=113, exitN=75 |
11.6% | -88.8% | 0.47 | 0.13 | 12.1x | 30 | 49% |
| ADX / DI 방향성 period=33, threshold=21 |
8.2% | -64.4% | 0.40 | 0.13 | 5.9x | 66 | 20% |
| ROC 모멘텀 n=148, threshold=-0.04 |
4.6% | -98.7% | 0.40 | 0.05 | 2.8x | 162 | 60% |
| 볼린저 밴드 돌파 n=96, k=2.7 |
-3.0% | -98.9% | 0.20 | -0.03 | 0.5x | 46 | 31% |
| Supertrend period=6, mult=4.8 |
-17.0% | -100.0% | 0.15 | -0.17 | 0.0x | 169 | 57% |
| MACD fast=10, slow=38, signal=10 |
-17.7% | -99.7% | 0.12 | -0.18 | 0.0x | 418 | 50% |
| Parabolic SAR step=0.005, maxStep=0.32 |
-17.6% | -100.0% | -0.04 | -0.18 | 0.0x | 138 | 48% |
| Keltner 채널 돌파 emaPeriod=56, atrPeriod=23, mult=2.9 |
-20.6% | -100.0% | -0.06 | -0.21 | 0.0x | 136 | 40% |
| Buy and hold | 14.2% | -90.0% | 0.61 | 0.16 | 20.4x | 1 | 100% |
Rules of the top strategy
Uses two exponential averages (more weight on recent prices) and trades their crossover.
- Buy — Buy when the 44-day EMA crosses above the 213-day EMA
- Sell — Sell when the 44-day EMA falls below the 213-day EMA