Trend-Following Backtester · Guide · backtest 한국어
etf · US
State Street SPDR S&P Oil & Gas Exploration & Production ETF backtest
10 trend-following strategies were compared on the full daily history of State Street SPDR S&P Oil & Gas Exploration & Production ETF. 7 beat buy-and-hold CAGR; EMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is 볼린저 밴드 돌파 (CAGR 1.9%, MDD -16.4%).
Results by strategy
7 of 10 beat buy and hold (CAGR 1.3%, drawdown -91.0%).
Sharpe leader (same as main): EMA 크로스오버 — CAGR 8.1%, MDD -38.2%, Sharpe 0.45, 58% exposure.
Return/drawdown alternative: 볼린저 밴드 돌파 — CAGR is 6.8%p higher than buy and hold, while drawdown improves by 52.8%p (CAGR 1.9%, MDD -16.4%, exposure 4%).
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=61, slow=138 |
8.1% | -38.2% | 0.45 | 0.21 | 4.8x | 23 | 58% |
| SMA 크로스오버 fast=23, slow=192 |
8.0% | -40.1% | 0.44 | 0.20 | 4.7x | 27 | 56% |
| Donchian 채널 돌파 entryN=105, exitN=77 |
4.5% | -51.0% | 0.31 | 0.09 | 2.4x | 25 | 53% |
| ROC 모멘텀 n=100, threshold=-0.09 |
4.2% | -60.8% | 0.29 | 0.07 | 2.3x | 115 | 72% |
| MACD fast=15, slow=31, signal=13 |
4.1% | -70.1% | 0.28 | 0.06 | 2.3x | 278 | 52% |
| 볼린저 밴드 돌파 n=53, k=3.2 |
1.9% | -16.4% | 0.28 | 0.11 | 1.5x | 6 | 4% |
| Supertrend period=9, mult=3.9 |
3.6% | -52.1% | 0.27 | 0.07 | 2.0x | 96 | 50% |
| Parabolic SAR step=0.01, maxStep=0.32 |
1.0% | -67.3% | 0.17 | 0.02 | 1.2x | 286 | 53% |
| ADX / DI 방향성 period=28, threshold=23 |
0.7% | -21.1% | 0.13 | 0.03 | 1.1x | 26 | 4% |
| Keltner 채널 돌파 emaPeriod=64, atrPeriod=17, mult=1.6 |
0.5% | -50.1% | 0.12 | 0.01 | 1.1x | 122 | 42% |
| Buy and hold | 1.3% | -91.0% | 0.23 | 0.01 | 1.3x | 1 | 100% |
Rules of the top strategy
Uses two exponential averages (more weight on recent prices) and trades their crossover.
- Buy — Buy when the 61-day EMA crosses above the 138-day EMA
- Sell — Sell when the 61-day EMA falls below the 138-day EMA