Trend-Following Backtester · Guide · backtest 한국어
equity · ES
Naturgy Energy Group, S.A. backtest
10 trend-following strategies were compared on the full daily history of Naturgy Energy Group, S.A.. 4 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Donchian 채널 돌파 (CAGR 2.6%, MDD -33.5%).
Results by strategy
4 of 10 beat buy and hold (CAGR 1.6%, drawdown -77.9%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 3.1%, MDD -38.5%, Sharpe 0.26, 55% exposure.
Return/drawdown alternative: Donchian 채널 돌파 — CAGR is 1.5%p higher than buy and hold, while drawdown improves by 39.4%p (CAGR 2.6%, MDD -33.5%, exposure 40%).
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=51, slow=122 |
3.1% | -38.5% | 0.26 | 0.08 | 2.3x | 61 | 55% |
| EMA 크로스오버 fast=110, slow=202 |
3.0% | -34.0% | 0.26 | 0.09 | 2.2x | 25 | 57% |
| Donchian 채널 돌파 entryN=86, exitN=37 |
2.6% | -33.5% | 0.25 | 0.08 | 2.0x | 51 | 40% |
| ROC 모멘텀 n=81, threshold=-0.15 |
2.7% | -57.0% | 0.23 | 0.05 | 2.0x | 79 | 90% |
| ADX / DI 방향성 period=37, threshold=36 |
0.2% | -6.8% | 0.13 | 0.03 | 1.1x | 4 | 0% |
| 볼린저 밴드 돌파 n=57, k=3.3 |
0.6% | -27.7% | 0.11 | 0.02 | 1.2x | 20 | 9% |
| Supertrend period=12, mult=3.1 |
-0.1% | -57.6% | 0.08 | -0.00 | 1.0x | 153 | 56% |
| Keltner 채널 돌파 emaPeriod=42, atrPeriod=29, mult=2.9 |
-0.0% | -49.6% | 0.05 | -0.00 | 1.0x | 80 | 23% |
| Parabolic SAR step=0.005, maxStep=0.2 |
-2.8% | -61.6% | -0.07 | -0.05 | 0.5x | 232 | 54% |
| MACD fast=18, slow=54, signal=18 |
-2.7% | -58.9% | -0.08 | -0.05 | 0.5x | 304 | 52% |
| Buy and hold | 1.6% | -77.9% | 0.19 | 0.02 | 1.5x | 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 51-day average price crosses above the 122-day average
- Sell — Sell (to cash) when the 51-day average falls below the 122-day average