Trend-Following Backtester · Guide · backtest 한국어
equity · US
Magnolia Oil & Gas Corporation backtest
10 trend-following strategies were compared on the full daily history of Magnolia Oil & Gas Corporation. 2 beat buy-and-hold CAGR; ADX / DI 방향성 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Keltner 채널 돌파 (CAGR 10.1%, MDD -20.0%).
Results by strategy
2 of 10 beat buy and hold (CAGR 9.6%, drawdown -77.8%).
Sharpe leader (same as main): ADX / DI 방향성 — CAGR 3.4%, MDD -4.7%, Sharpe 0.81, 4% exposure.
CAGR reference leader: Supertrend — CAGR 10.6%, MDD -44.5%, exposure 54%.
Return/drawdown alternative: Keltner 채널 돌파 — CAGR is 6.2%p lower than buy and hold, while drawdown improves by 73.1%p (CAGR 10.1%, MDD -20.0%, exposure 15%).
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 |
|---|---|---|---|---|---|---|---|
| ADX / DI 방향성 period=29, threshold=35 |
3.4% | -4.7% | 0.81 | 0.73 | 1.4x | 2 | 4% |
| Keltner 채널 돌파 emaPeriod=38, atrPeriod=14, mult=3.4 |
10.1% | -20.0% | 0.70 | 0.50 | 2.4x | 14 | 15% |
| Donchian 채널 돌파 entryN=116, exitN=15 |
9.1% | -27.0% | 0.55 | 0.34 | 2.2x | 22 | 23% |
| 볼린저 밴드 돌파 n=34, k=2.7 |
8.2% | -40.3% | 0.49 | 0.20 | 2.1x | 20 | 17% |
| Supertrend period=2, mult=3.1 |
10.6% | -44.5% | 0.48 | 0.24 | 2.5x | 78 | 54% |
| ROC 모멘텀 n=77, threshold=0.13 |
7.9% | -34.1% | 0.43 | 0.23 | 2.0x | 80 | 31% |
| MACD fast=30, slow=52, signal=19 |
8.9% | -58.4% | 0.43 | 0.15 | 2.2x | 82 | 52% |
| SMA 크로스오버 fast=37, slow=86 |
7.6% | -45.9% | 0.39 | 0.17 | 2.0x | 27 | 53% |
| EMA 크로스오버 fast=56, slow=210 |
5.7% | -44.4% | 0.33 | 0.13 | 1.7x | 14 | 58% |
| Parabolic SAR step=0.005, maxStep=0.22 |
-2.9% | -75.3% | 0.07 | -0.04 | 0.8x | 86 | 52% |
| Buy and hold | 9.6% | -77.8% | 0.43 | 0.12 | 2.3x | 1 | 100% |
Rules of the top strategy
Looks at both the direction and the strength of the trend; holds only in a strong uptrend.
- Buy — Buy when up-direction (+DI) beats down-direction (−DI) and trend strength (ADX, 29-day) is ≥ 35
- Sell — Sell when direction flips or the trend weakens (ADX < 35)