Trend-Following Backtester · Guide · backtest 한국어
equity · ES
Elecnor S.A. backtest
10 trend-following strategies were compared on the full daily history of Elecnor S.A.. 3 beat buy-and-hold CAGR; Donchian 채널 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is SMA 크로스오버 (CAGR 13.3%, MDD -37.7%).
Results by strategy
3 of 10 beat buy and hold (CAGR 10.9%, drawdown -74.3%).
Sharpe leader (same as main): Donchian 채널 돌파 — CAGR 15.0%, MDD -39.4%, Sharpe 0.72, 68% exposure.
Return/drawdown alternative: SMA 크로스오버 — CAGR is 4.1%p higher than buy and hold, while drawdown improves by 34.9%p (CAGR 13.3%, MDD -37.7%, exposure 59%).
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 |
|---|---|---|---|---|---|---|---|
| Donchian 채널 돌파 entryN=54, exitN=65 |
15.0% | -39.4% | 0.72 | 0.38 | 29.9x | 34 | 68% |
| SMA 크로스오버 fast=24, slow=185 |
13.3% | -37.7% | 0.68 | 0.35 | 21.0x | 36 | 59% |
| EMA 크로스오버 fast=53, slow=169 |
11.9% | -37.8% | 0.62 | 0.31 | 15.3x | 26 | 59% |
| Keltner 채널 돌파 emaPeriod=95, atrPeriod=24, mult=2.7 |
10.0% | -37.1% | 0.58 | 0.27 | 10.0x | 58 | 45% |
| ROC 모멘텀 n=116, threshold=0 |
9.0% | -57.5% | 0.50 | 0.16 | 8.2x | 160 | 60% |
| ADX / DI 방향성 period=50, threshold=12 |
6.8% | -33.2% | 0.48 | 0.20 | 4.9x | 110 | 30% |
| Supertrend period=10, mult=5 |
8.3% | -46.1% | 0.47 | 0.18 | 6.9x | 78 | 57% |
| Parabolic SAR step=0.005, maxStep=0.34 |
7.0% | -44.2% | 0.42 | 0.16 | 5.2x | 167 | 52% |
| 볼린저 밴드 돌파 n=77, k=3.2 |
5.2% | -31.1% | 0.42 | 0.17 | 3.4x | 38 | 23% |
| MACD fast=19, slow=51, signal=27 |
5.3% | -64.2% | 0.35 | 0.08 | 3.5x | 205 | 49% |
| Buy and hold | 10.9% | -74.3% | 0.50 | 0.15 | 12.4x | 1 | 100% |
Rules of the top strategy
A new high means a trend starting; a new low means it’s over (turtle-trading style).
- Buy — Buy on a breakout above the highest high of the last 54 days
- Sell — Sell when price breaks below the lowest low of the last 65 days