Trend-Following Backtester · Guide · backtest 한국어
equity · US
Marathon Petroleum Corporation backtest
10 trend-following strategies were compared on the full daily history of Marathon Petroleum Corporation. 3 beat buy-and-hold CAGR; MACD ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is MACD (CAGR 22.8%, MDD -34.5%).
Results by strategy
3 of 10 beat buy and hold (CAGR 22.1%, drawdown -80.8%).
Sharpe leader (same as main): MACD — CAGR 22.8%, MDD -34.5%, Sharpe 0.90, 52% exposure.
CAGR reference leader: Donchian 채널 돌파 — CAGR 26.6%, MDD -51.5%, exposure 90%.
Return/drawdown alternative: MACD — CAGR is 0.7%p higher than buy and hold, while drawdown improves by 46.2%p (CAGR 22.8%, MDD -34.5%, exposure 52%).
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 |
|---|---|---|---|---|---|---|---|
| MACD fast=17, slow=51, signal=10 |
22.8% | -34.5% | 0.90 | 0.66 | 22.9x | 188 | 52% |
| ROC 모멘텀 n=123, threshold=-0.13 |
24.2% | -60.1% | 0.89 | 0.40 | 27.2x | 69 | 81% |
| EMA 크로스오버 fast=65, slow=236 |
21.9% | -42.3% | 0.88 | 0.52 | 20.5x | 9 | 72% |
| 볼린저 밴드 돌파 n=32, k=2.1 |
17.1% | -31.8% | 0.88 | 0.54 | 11.1x | 73 | 35% |
| Keltner 채널 돌파 emaPeriod=32, atrPeriod=8, mult=1.9 |
16.8% | -26.7% | 0.86 | 0.63 | 10.7x | 83 | 38% |
| Donchian 채널 돌파 entryN=6, exitN=77 |
26.6% | -51.5% | 0.85 | 0.52 | 36.5x | 43 | 90% |
| SMA 크로스오버 fast=15, slow=239 |
19.1% | -53.2% | 0.81 | 0.36 | 14.4x | 23 | 68% |
| Supertrend period=8, mult=3.1 |
16.7% | -39.4% | 0.74 | 0.42 | 10.6x | 97 | 54% |
| ADX / DI 방향성 period=17, threshold=16 |
12.1% | -46.3% | 0.62 | 0.26 | 5.7x | 194 | 42% |
| Parabolic SAR step=0.015, maxStep=0.12 |
12.7% | -56.6% | 0.58 | 0.22 | 6.2x | 280 | 56% |
| Buy and hold | 22.1% | -80.8% | 0.71 | 0.27 | 21.1x | 1 | 100% |
Rules of the top strategy
Looks at the gap (MACD) between a short and long average crossing its own signal line.
- Buy — Buy when the MACD line (17/51) crosses above its 10-day signal line
- Sell — Sell when the MACD line crosses back below the signal line