Trend-Following Backtester · Guide · backtest 한국어
equity · US
MGIC Investment Corporation backtest
10 trend-following strategies were compared on the full daily history of MGIC Investment Corporation. 7 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Keltner 채널 돌파 (CAGR 10.0%, MDD -45.2%).
Results by strategy
7 of 10 beat buy and hold (CAGR 3.7%, drawdown -98.9%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 11.9%, MDD -62.0%, Sharpe 0.52, 58% exposure.
Return/drawdown alternative: Keltner 채널 돌파 — CAGR is 8.2%p higher than buy and hold, while drawdown improves by 36.9%p (CAGR 10.0%, MDD -45.2%, exposure 51%).
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=8, slow=92 |
11.9% | -62.0% | 0.52 | 0.19 | 52.1x | 149 | 58% |
| EMA 크로스오버 fast=15, slow=77 |
11.7% | -59.4% | 0.52 | 0.20 | 48.8x | 131 | 58% |
| Donchian 채널 돌파 entryN=52, exitN=104 |
11.9% | -63.7% | 0.50 | 0.19 | 51.2x | 51 | 72% |
| Keltner 채널 돌파 emaPeriod=82, atrPeriod=10, mult=1.6 |
10.0% | -45.2% | 0.49 | 0.22 | 28.7x | 168 | 51% |
| Supertrend period=7, mult=4.9 |
8.9% | -90.5% | 0.42 | 0.10 | 20.2x | 120 | 57% |
| ROC 모멘텀 n=74, threshold=-0.01 |
7.6% | -67.6% | 0.39 | 0.11 | 13.1x | 361 | 61% |
| 볼린저 밴드 돌파 n=53, k=1 |
6.0% | -73.8% | 0.35 | 0.08 | 7.9x | 226 | 49% |
| Parabolic SAR step=0.005, maxStep=0.16 |
3.5% | -94.7% | 0.27 | 0.04 | 3.4x | 294 | 53% |
| ADX / DI 방향성 period=39, threshold=11 |
3.4% | -76.8% | 0.26 | 0.04 | 3.2x | 262 | 42% |
| MACD fast=10, slow=52, signal=11 |
0.5% | -92.4% | 0.23 | 0.01 | 1.2x | 576 | 50% |
| Buy and hold | 3.7% | -98.9% | 0.36 | 0.04 | 3.6x | 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 8-day average price crosses above the 92-day average
- Sell — Sell (to cash) when the 8-day average falls below the 92-day average