Trend-Following Backtester · Guide · backtest 한국어
etf · US
State Street SPDR Portfolio Long Term Treasury ETF backtest
10 trend-following strategies were compared on the full daily history of State Street SPDR Portfolio Long Term Treasury ETF. 7 beat buy-and-hold CAGR; 볼린저 밴드 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is 볼린저 밴드 돌파 (CAGR 0.8%, MDD -8.0%).
Results by strategy
7 of 10 beat buy and hold (CAGR -0.3%, drawdown -51.6%).
Sharpe leader (same as main): 볼린저 밴드 돌파 — CAGR 0.8%, MDD -8.0%, Sharpe 0.26, 3% exposure.
CAGR reference leader: Donchian 채널 돌파 — CAGR 1.1%, MDD -23.8%, exposure 34%.
Return/drawdown alternative: 볼린저 밴드 돌파 — CAGR is 1.1%p higher than buy and hold, while drawdown improves by 43.5%p (CAGR 0.8%, MDD -8.0%, exposure 3%).
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=20, k=3.1 |
0.8% | -8.0% | 0.26 | 0.10 | 1.2x | 12 | 3% |
| ADX / DI 방향성 period=36, threshold=21 |
0.7% | -14.5% | 0.18 | 0.05 | 1.2x | 16 | 8% |
| Donchian 채널 돌파 entryN=115, exitN=52 |
1.1% | -23.8% | 0.17 | 0.05 | 1.2x | 24 | 34% |
| SMA 크로스오버 fast=38, slow=82 |
1.1% | -29.7% | 0.16 | 0.04 | 1.2x | 58 | 51% |
| Keltner 채널 돌파 emaPeriod=20, atrPeriod=19, mult=3 |
0.6% | -17.3% | 0.13 | 0.03 | 1.1x | 50 | 12% |
| EMA 크로스오버 fast=54, slow=146 |
0.5% | -24.9% | 0.10 | 0.02 | 1.1x | 30 | 46% |
| ROC 모멘텀 Hold-like · Exposure 100% n=1, threshold=-0.06 |
-0.1% | -51.3% | 0.06 | -0.00 | 1.0x | 3 | 100% |
| MACD fast=37, slow=53, signal=25 |
-0.8% | -24.7% | -0.04 | -0.03 | 0.8x | 126 | 48% |
| Supertrend period=15, mult=4.1 |
-1.3% | -33.8% | -0.10 | -0.04 | 0.8x | 100 | 46% |
| Parabolic SAR step=0.005, maxStep=0.3 |
-3.8% | -54.7% | -0.37 | -0.07 | 0.5x | 154 | 48% |
| Buy and hold | -0.3% | -51.6% | 0.05 | -0.01 | 0.9x | 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 20-day average (3.1× volatility)
- Sell — Sell when the close falls back to the 20-day middle average