Trend-Following Backtester · Guide · backtest 한국어
equity · ES
Banco Santander, S.A. backtest
10 trend-following strategies were compared on the full daily history of Banco Santander, S.A.. 8 beat buy-and-hold CAGR; Donchian 채널 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is 볼린저 밴드 돌파 (CAGR 1.8%, MDD -14.0%).
Results by strategy
8 of 10 beat buy and hold (CAGR 0.8%, drawdown -88.6%).
Sharpe leader (same as main): Donchian 채널 돌파 — CAGR 6.1%, MDD -34.3%, Sharpe 0.44, 37% exposure.
CAGR reference leader: SMA 크로스오버 — CAGR 6.6%, MDD -35.8%, exposure 47%.
Return/drawdown alternative: 볼린저 밴드 돌파 — CAGR is 5.2%p higher than buy and hold, while drawdown improves by 54.4%p (CAGR 1.8%, MDD -14.0%, exposure 4%).
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=89, exitN=48 |
6.1% | -34.3% | 0.44 | 0.18 | 4.8x | 43 | 37% |
| SMA 크로스오버 fast=75, slow=214 |
6.6% | -35.8% | 0.44 | 0.19 | 5.6x | 31 | 47% |
| ROC 모멘텀 n=147, threshold=0.05 |
5.4% | -40.2% | 0.39 | 0.13 | 4.0x | 187 | 43% |
| Keltner 채널 돌파 emaPeriod=53, atrPeriod=30, mult=3.4 |
4.2% | -32.2% | 0.38 | 0.13 | 3.0x | 57 | 24% |
| EMA 크로스오버 fast=35, slow=148 |
5.0% | -44.4% | 0.35 | 0.11 | 3.6x | 43 | 52% |
| 볼린저 밴드 돌파 n=20, k=3 |
1.8% | -14.0% | 0.34 | 0.13 | 1.6x | 22 | 4% |
| ADX / DI 방향성 period=31, threshold=17 |
2.3% | -28.9% | 0.25 | 0.08 | 1.8x | 100 | 15% |
| Supertrend period=3, mult=5 |
2.5% | -62.5% | 0.22 | 0.04 | 1.9x | 91 | 51% |
| MACD fast=30, slow=52, signal=29 |
-0.7% | -78.4% | 0.08 | -0.01 | 0.8x | 186 | 50% |
| Parabolic SAR step=0.01, maxStep=0.02 |
-2.9% | -87.7% | -0.03 | -0.03 | 0.5x | 169 | 56% |
| Buy and hold | 0.8% | -88.6% | 0.20 | 0.01 | 1.2x | 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 89 days
- Sell — Sell when price breaks below the lowest low of the last 48 days