Trend-Following Backtester · Guide · backtest 한국어
etf · US
State Street SPDR S&P Metals & Mining ETF backtest
10 trend-following strategies were compared on the full daily history of State Street SPDR S&P Metals & Mining ETF. 6 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is SMA 크로스오버 (CAGR 9.9%, MDD -36.1%).
Results by strategy
6 of 10 beat buy and hold (CAGR 4.2%, drawdown -87.3%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 9.9%, MDD -36.1%, Sharpe 0.51, 57% exposure.
CAGR reference leader: Donchian 채널 돌파 — CAGR 10.4%, MDD -64.5%, exposure 81%.
Return/drawdown alternative: SMA 크로스오버 — CAGR is 5.8%p higher than buy and hold, while drawdown improves by 51.3%p (CAGR 9.9%, MDD -36.1%, exposure 57%).
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 |
|---|---|---|---|---|---|---|---|
| SMA 크로스오버 fast=26, slow=135 |
9.9% | -36.1% | 0.51 | 0.27 | 6.8x | 43 | 57% |
| EMA 크로스오버 fast=45, slow=79 |
9.1% | -40.5% | 0.48 | 0.22 | 5.8x | 38 | 58% |
| Donchian 채널 돌파 entryN=14, exitN=69 |
10.4% | -64.5% | 0.48 | 0.16 | 7.4x | 55 | 81% |
| ROC 모멘텀 n=108, threshold=-0.07 |
8.4% | -49.8% | 0.43 | 0.17 | 5.1x | 134 | 68% |
| 볼린저 밴드 돌파 n=56, k=3.5 |
2.4% | -13.2% | 0.36 | 0.18 | 1.6x | 4 | 4% |
| Supertrend period=15, mult=2.5 |
4.6% | -64.1% | 0.31 | 0.07 | 2.5x | 190 | 53% |
| Parabolic SAR step=0.005, maxStep=0.02 |
4.5% | -49.4% | 0.30 | 0.09 | 2.4x | 110 | 56% |
| ADX / DI 방향성 period=49, threshold=15 |
2.7% | -26.8% | 0.29 | 0.10 | 1.7x | 44 | 10% |
| Keltner 채널 돌파 emaPeriod=56, atrPeriod=10, mult=1.1 |
3.3% | -60.5% | 0.26 | 0.06 | 1.9x | 174 | 46% |
| MACD fast=19, slow=56, signal=9 |
0.0% | -80.5% | 0.13 | 0.00 | 1.0x | 292 | 52% |
| Buy and hold | 4.2% | -87.3% | 0.30 | 0.05 | 2.3x | 1 | 100% |
Rules of the top strategy
When the short average rises above the long average, it reads that as an uptrend starting.
- Buy — Buy when the 26-day average price crosses above the 135-day average
- Sell — Sell (to cash) when the 26-day average falls below the 135-day average