Trend-Following Backtester · Guide · backtest 한국어
equity · US
Fannie Mae backtest
10 trend-following strategies were compared on the full daily history of Fannie Mae. 8 beat buy-and-hold CAGR; EMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Keltner 채널 돌파 (CAGR 10.3%, MDD -69.7%).
Results by strategy
8 of 10 beat buy and hold (CAGR 2.2%, drawdown -99.8%).
Sharpe leader (same as main): EMA 크로스오버 — CAGR 12.4%, MDD -93.2%, Sharpe 0.48, 52% exposure.
Return/drawdown alternative: Keltner 채널 돌파 — CAGR is 10.2%p higher than buy and hold, while drawdown improves by 6.5%p (CAGR 10.3%, MDD -69.7%, exposure 20%).
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=26, slow=248 |
12.4% | -93.2% | 0.48 | 0.13 | 336.9x | 72 | 52% |
| 볼린저 밴드 돌파 n=48, k=2 |
11.3% | -73.1% | 0.46 | 0.16 | 208.9x | 202 | 32% |
| SMA 크로스오버 fast=30, slow=59 |
11.3% | -89.9% | 0.45 | 0.13 | 202.8x | 240 | 51% |
| Donchian 채널 돌파 entryN=39, exitN=55 |
11.0% | -81.6% | 0.45 | 0.13 | 179.2x | 126 | 59% |
| Keltner 채널 돌파 emaPeriod=28, atrPeriod=16, mult=2.9 |
10.3% | -69.7% | 0.44 | 0.15 | 132.1x | 174 | 20% |
| Supertrend period=14, mult=4.9 |
9.9% | -93.8% | 0.43 | 0.11 | 107.3x | 150 | 56% |
| ROC 모멘텀 n=139, threshold=-0.04 |
8.9% | -88.8% | 0.41 | 0.10 | 69.7x | 384 | 62% |
| ADX / DI 방향성 period=17, threshold=22 |
6.8% | -71.1% | 0.35 | 0.10 | 26.1x | 344 | 26% |
| MACD fast=12, slow=61, signal=17 |
-1.1% | -99.7% | 0.27 | -0.01 | 0.6x | 610 | 49% |
| Parabolic SAR step=0.03, maxStep=0.18 |
-8.1% | -99.9% | 0.10 | -0.08 | 0.0x | 1186 | 50% |
| Buy and hold | 2.2% | -99.8% | 0.39 | 0.02 | 3.0x | 1 | 100% |
Rules of the top strategy
Uses two exponential averages (more weight on recent prices) and trades their crossover.
- Buy — Buy when the 26-day EMA crosses above the 248-day EMA
- Sell — Sell when the 26-day EMA falls below the 248-day EMA