Trend-Following Backtester · Guide · backtest 한국어
equity · ES
Metrovacesa SA backtest
10 trend-following strategies were compared on the full daily history of Metrovacesa SA. 10 beat buy-and-hold CAGR; MACD ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ADX / DI 방향성 (CAGR 0.7%, MDD -21.2%).
Results by strategy
10 of 10 beat buy and hold (CAGR -5.0%, drawdown -70.7%).
Sharpe leader (same as main): MACD — CAGR 6.1%, MDD -26.5%, Sharpe 0.37, 48% exposure.
Return/drawdown alternative: ADX / DI 방향성 — CAGR is 11.1%p higher than buy and hold, while drawdown improves by 44.2%p (CAGR 0.7%, MDD -21.2%, exposure 22%).
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=17, slow=32, signal=23 |
6.1% | -26.5% | 0.37 | 0.23 | 1.7x | 75 | 48% |
| SMA 크로스오버 fast=74, slow=168 |
4.7% | -34.1% | 0.33 | 0.14 | 1.5x | 14 | 53% |
| ROC 모멘텀 n=160, threshold=-0.13 |
4.0% | -32.8% | 0.28 | 0.12 | 1.4x | 23 | 71% |
| Keltner 채널 돌파 emaPeriod=12, atrPeriod=24, mult=1.8 |
2.9% | -21.9% | 0.28 | 0.13 | 1.3x | 30 | 12% |
| 볼린저 밴드 돌파 n=15, k=2.5 |
2.4% | -25.2% | 0.23 | 0.09 | 1.2x | 44 | 16% |
| EMA 크로스오버 fast=71, slow=153 |
2.5% | -31.3% | 0.22 | 0.08 | 1.2x | 8 | 53% |
| Parabolic SAR step=0.015, maxStep=0.34 |
1.5% | -43.4% | 0.17 | 0.03 | 1.1x | 139 | 49% |
| ADX / DI 방향성 period=9, threshold=35 |
0.7% | -21.2% | 0.12 | 0.03 | 1.1x | 74 | 22% |
| Donchian 채널 돌파 entryN=22, exitN=10 |
0.4% | -26.5% | 0.11 | 0.01 | 1.0x | 54 | 34% |
| Supertrend period=28, mult=1.9 |
-0.3% | -58.0% | 0.09 | -0.01 | 1.0x | 80 | 48% |
| Buy and hold | -5.0% | -70.7% | -0.02 | -0.07 | 0.6x | 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 (17/32) crosses above its 23-day signal line
- Sell — Sell when the MACD line crosses back below the signal line