Trend-Following Backtester · Guide · backtest 한국어
equity · IT
Enel SpA backtest
10 trend-following strategies were compared on the full daily history of Enel SpA. 3 beat buy-and-hold CAGR; ADX / DI 방향성 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ADX / DI 방향성 (CAGR 1.6%, MDD -29.2%).
Results by strategy
3 of 10 beat buy and hold (CAGR 1.2%, drawdown -72.4%).
Sharpe leader (same as main): ADX / DI 방향성 — CAGR 1.6%, MDD -29.2%, Sharpe 0.23, 15% exposure.
CAGR reference leader: SMA 크로스오버 — CAGR 2.0%, MDD -39.0%, exposure 53%.
Return/drawdown alternative: ADX / DI 방향성 — CAGR is 0.4%p higher than buy and hold, while drawdown improves by 43.2%p (CAGR 1.6%, MDD -29.2%, 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=43, threshold=16 |
1.6% | -29.2% | 0.23 | 0.05 | 1.5x | 52 | 15% |
| SMA 크로스오버 fast=47, slow=99 |
2.0% | -39.0% | 0.20 | 0.05 | 1.7x | 62 | 53% |
| Donchian 채널 돌파 entryN=59, exitN=36 |
1.8% | -32.4% | 0.19 | 0.05 | 1.6x | 64 | 45% |
| Keltner 채널 돌파 emaPeriod=67, atrPeriod=18, mult=2.8 |
0.9% | -30.1% | 0.14 | 0.03 | 1.3x | 82 | 30% |
| Supertrend period=8, mult=4.7 |
0.6% | -50.9% | 0.11 | 0.01 | 1.2x | 84 | 46% |
| 볼린저 밴드 돌파 n=15, k=3.4 |
0.1% | -3.7% | 0.09 | 0.03 | 1.0x | 2 | 0% |
| EMA 크로스오버 fast=27, slow=108 |
-0.4% | -49.4% | 0.06 | -0.01 | 0.9x | 64 | 56% |
| ROC 모멘텀 n=77, threshold=0 |
-2.6% | -62.9% | -0.09 | -0.04 | 0.5x | 296 | 53% |
| MACD fast=17, slow=27, signal=17 |
-3.2% | -74.3% | -0.12 | -0.04 | 0.4x | 359 | 50% |
| Parabolic SAR step=0.005, maxStep=0.06 |
-3.8% | -76.7% | -0.15 | -0.05 | 0.4x | 234 | 53% |
| Buy and hold | 1.2% | -72.4% | 0.17 | 0.02 | 1.4x | 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, 43-day) is ≥ 16
- Sell — Sell when direction flips or the trend weakens (ADX < 16)