Trend-Following Backtester · Guide · backtest 한국어
equity · IT
Snam S.p.A. backtest
10 trend-following strategies were compared on the full daily history of Snam S.p.A.. 0 beat buy-and-hold CAGR; 볼린저 밴드 돌파 ranks first by Sharpe, matching the main backtester.
Results by strategy
0 of 10 beat buy and hold (CAGR 3.5%, drawdown -43.0%).
Sharpe leader (same as main): 볼린저 밴드 돌파 — CAGR 0.5%, MDD -4.2%, Sharpe 0.33, 1% exposure.
CAGR reference leader: SMA 크로스오버 — CAGR 1.0%, MDD -44.8%, exposure 62%.
No strategy retained at least 75% of buy-and-hold CAGR while reducing drawdown by both 20% relatively and 5 percentage points absolutely.
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 |
|---|---|---|---|---|---|---|---|
| 볼린저 밴드 돌파 n=21, k=3.4 |
0.5% | -4.2% | 0.33 | 0.12 | 1.1x | 4 | 1% |
| ADX / DI 방향성 period=26, threshold=38 |
0.4% | -8.8% | 0.20 | 0.04 | 1.1x | 4 | 1% |
| ROC 모멘텀 n=7, threshold=0.13 |
0.2% | -0.5% | 0.18 | 0.35 | 1.0x | 2 | 0% |
| SMA 크로스오버 fast=75, slow=207 |
1.0% | -44.8% | 0.14 | 0.02 | 1.3x | 36 | 62% |
| EMA 크로스오버 fast=78, slow=181 |
0.4% | -42.3% | 0.11 | 0.01 | 1.1x | 30 | 62% |
| Supertrend period=28, mult=5 |
-0.6% | -60.0% | 0.02 | -0.01 | 0.9x | 66 | 55% |
| Donchian 채널 돌파 entryN=104, exitN=22 |
-0.5% | -50.4% | -0.00 | -0.01 | 0.9x | 60 | 28% |
| Keltner 채널 돌파 emaPeriod=45, atrPeriod=14, mult=3.9 |
-1.2% | -47.0% | -0.16 | -0.02 | 0.7x | 40 | 11% |
| Parabolic SAR step=0.005, maxStep=0.08 |
-5.2% | -79.9% | -0.31 | -0.07 | 0.3x | 217 | 54% |
| MACD fast=19, slow=52, signal=19 |
-6.0% | -81.3% | -0.39 | -0.07 | 0.2x | 275 | 52% |
| Buy and hold | 3.5% | -43.0% | 0.27 | 0.08 | 2.3x | 1 | 100% |
Rules of the top strategy
Breaking above the upper band (average plus a multiple of volatility) signals a strong move up.
- Buy — Buy when the close breaks above the upper band of the 21-day average (3.4× volatility)
- Sell — Sell when the close falls back to the 21-day middle average