Trend-Following Backtester · Guide · backtest 한국어
equity · US
Devon Energy Corporation backtest
10 trend-following strategies were compared on the full daily history of Devon Energy Corporation. 5 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is EMA 크로스오버 (CAGR 8.7%, MDD -58.4%).
Results by strategy
5 of 10 beat buy and hold (CAGR 5.2%, drawdown -95.6%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 10.9%, MDD -66.9%, Sharpe 0.48, 55% exposure.
Return/drawdown alternative: EMA 크로스오버 — CAGR is 5.7%p higher than buy and hold, while drawdown improves by 28.8%p (CAGR 8.7%, MDD -58.4%, exposure 54%).
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 |
|---|---|---|---|---|---|---|---|
| SMA 크로스오버 fast=38, slow=233 |
10.9% | -66.9% | 0.48 | 0.16 | 70.2x | 51 | 55% |
| EMA 크로스오버 fast=47, slow=148 |
8.7% | -58.4% | 0.42 | 0.15 | 31.6x | 63 | 54% |
| Donchian 채널 돌파 entryN=10, exitN=79 |
7.7% | -79.4% | 0.38 | 0.10 | 21.6x | 131 | 86% |
| Supertrend period=8, mult=4.3 |
6.3% | -65.1% | 0.34 | 0.10 | 12.3x | 189 | 54% |
| ROC 모멘텀 n=129, threshold=-0.02 |
5.8% | -70.5% | 0.32 | 0.08 | 10.0x | 338 | 58% |
| Keltner 채널 돌파 emaPeriod=76, atrPeriod=20, mult=2.5 |
4.8% | -62.1% | 0.30 | 0.08 | 6.9x | 171 | 38% |
| 볼린저 밴드 돌파 n=56, k=2.4 |
3.5% | -52.5% | 0.25 | 0.07 | 4.1x | 125 | 28% |
| MACD fast=19, slow=52, signal=22 |
0.3% | -81.4% | 0.16 | 0.00 | 1.1x | 394 | 51% |
| ADX / DI 방향성 period=36, threshold=12 |
0.3% | -83.9% | 0.13 | 0.00 | 1.1x | 336 | 35% |
| Parabolic SAR step=0.03, maxStep=0.28 |
-2.6% | -92.9% | 0.06 | -0.03 | 0.3x | 1084 | 51% |
| Buy and hold | 5.2% | -95.6% | 0.33 | 0.05 | 8.1x | 1 | 100% |
Rules of the top strategy
When the short average rises above the long average, it reads that as an uptrend starting.
- Buy — Buy when the 38-day average price crosses above the 233-day average
- Sell — Sell (to cash) when the 38-day average falls below the 233-day average