Trend-Following Backtester · Guide · backtest 한국어
equity · US
Diversified Energy Company backtest
10 trend-following strategies were compared on the full daily history of Diversified Energy Company. 2 beat buy-and-hold CAGR; MACD ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is MACD (CAGR 54.7%, MDD -39.5%).
Results by strategy
2 of 10 beat buy and hold (CAGR 49.3%, drawdown -56.9%).
Sharpe leader (same as main): MACD — CAGR 54.7%, MDD -39.5%, Sharpe 0.42, 45% exposure.
Return/drawdown alternative: MACD — CAGR is 5.4%p higher than buy and hold, while drawdown improves by 17.4%p (CAGR 54.7%, MDD -39.5%, exposure 45%).
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=13, slow=50, signal=23 |
54.7% | -39.5% | 0.42 | 1.38 | 11.3x | 51 | 45% |
| Donchian 채널 돌파 entryN=6, exitN=55 |
45.4% | -59.3% | 0.42 | 0.76 | 8.0x | 23 | 86% |
| Supertrend period=11, mult=3 |
52.6% | -50.5% | 0.42 | 1.04 | 10.5x | 35 | 41% |
| SMA 크로스오버 fast=9, slow=38 |
44.8% | -56.5% | 0.41 | 0.79 | 7.9x | 50 | 46% |
| ROC 모멘텀 n=23, threshold=0.03 |
6.8% | -85.2% | 0.37 | 0.08 | 1.4x | 176 | 33% |
| 볼린저 밴드 돌파 n=21, k=3.5 |
0.7% | -21.8% | 0.12 | 0.03 | 1.0x | 4 | 3% |
| Keltner 채널 돌파 emaPeriod=14, atrPeriod=15, mult=3.5 |
-2.5% | -21.8% | -0.19 | -0.12 | 0.9x | 4 | 3% |
| ADX / DI 방향성 period=36, threshold=15 |
-7.6% | -45.7% | -0.29 | -0.17 | 0.6x | 18 | 16% |
| Parabolic SAR step=0.01, maxStep=0.26 |
-15.4% | -72.1% | -0.31 | -0.21 | 0.4x | 66 | 50% |
| EMA 크로스오버 fast=9, slow=69 |
-14.7% | -66.8% | -0.32 | -0.22 | 0.4x | 30 | 46% |
| Buy and hold | 49.3% | -56.9% | 0.42 | 0.86 | 9.3x | 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 (13/50) crosses above its 23-day signal line
- Sell — Sell when the MACD line crosses back below the signal line