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; Donchian 채널 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is MACD (CAGR 21.3%, MDD -34.3%).
Results by strategy
3 of 10 beat buy and hold (CAGR 20.6%, drawdown -80.8%).
Sharpe leader (same as main): Donchian 채널 돌파 — CAGR 27.4%, MDD -49.7%, Sharpe 0.86, 93% exposure.
Return/drawdown alternative: MACD — CAGR is 6.8%p higher than buy and hold, while drawdown improves by 31.1%p (CAGR 21.3%, MDD -34.3%, 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 |
|---|---|---|---|---|---|---|---|
| Donchian 채널 돌파 entryN=3, exitN=77 |
27.4% | -49.7% | 0.86 | 0.55 | 38.7x | 47 | 93% |
| MACD fast=9, slow=39, signal=23 |
21.3% | -34.3% | 0.86 | 0.62 | 18.6x | 193 | 52% |
| ROC 모멘텀 n=141, threshold=-0.09 |
22.2% | -47.7% | 0.85 | 0.46 | 20.6x | 73 | 77% |
| 볼린저 밴드 돌파 n=25, k=2.3 |
14.7% | -30.4% | 0.81 | 0.48 | 7.9x | 79 | 31% |
| EMA 크로스오버 fast=18, slow=219 |
17.2% | -45.0% | 0.75 | 0.38 | 11.0x | 27 | 69% |
| Keltner 채널 돌파 emaPeriod=21, atrPeriod=14, mult=2.2 |
12.4% | -22.3% | 0.74 | 0.55 | 5.8x | 73 | 29% |
| Supertrend period=18, mult=2.4 |
17.3% | -43.3% | 0.72 | 0.40 | 11.2x | 137 | 59% |
| SMA 크로스오버 fast=19, slow=213 |
14.6% | -60.7% | 0.67 | 0.24 | 7.8x | 29 | 67% |
| Parabolic SAR step=0.015, maxStep=0.12 |
11.2% | -56.6% | 0.53 | 0.20 | 5.0x | 278 | 56% |
| ADX / DI 방향성 period=16, threshold=16 |
9.6% | -45.5% | 0.52 | 0.21 | 4.0x | 209 | 43% |
| Buy and hold | 20.6% | -80.8% | 0.68 | 0.25 | 16.9x | 1 | 100% |
Rules of the top strategy
A new high means a trend starting; a new low means it’s over (turtle-trading style).
- Buy — Buy on a breakout above the highest high of the last 3 days
- Sell — Sell when price breaks below the lowest low of the last 77 days