Trend-Following Backtester · Guide · backtest 한국어
etf · US
iShares Short-Term National Muni Bond ETF backtest
10 trend-following strategies were compared on the full daily history of iShares Short-Term National Muni Bond ETF. 1 beat buy-and-hold CAGR; ADX / DI 방향성 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ADX / DI 방향성 (CAGR 0.2%, MDD -2.7%).
Results by strategy
1 of 10 beat buy and hold (CAGR 0.1%, drawdown -11.7%).
Sharpe leader (same as main): ADX / DI 방향성 — CAGR 0.2%, MDD -2.7%, Sharpe 0.18, 2% exposure.
Return/drawdown alternative: ADX / DI 방향성 — CAGR is 0.1%p higher than buy and hold, while drawdown improves by 9.1%p (CAGR 0.2%, MDD -2.7%, exposure 2%).
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 |
|---|---|---|---|---|---|---|---|
| ADX / DI 방향성 period=36, threshold=50 |
0.2% | -2.7% | 0.18 | 0.07 | 1.0x | 2 | 2% |
| ROC 모멘텀 Hold-like · Exposure 100% n=5, threshold=-0.04 |
0.1% | -9.2% | 0.05 | 0.01 | 1.0x | 5 | 100% |
| 볼린저 밴드 돌파 n=42, k=3.3 |
-0.0% | -1.8% | -0.00 | -0.00 | 1.0x | 2 | 1% |
| Keltner 채널 돌파 emaPeriod=20, atrPeriod=29, mult=3 |
-0.3% | -10.5% | -0.11 | -0.03 | 0.9x | 12 | 3% |
| Supertrend period=18, mult=5 |
-0.6% | -17.4% | -0.18 | -0.04 | 0.9x | 38 | 63% |
| Donchian 채널 돌파 entryN=23, exitN=76 |
-1.2% | -24.7% | -0.35 | -0.05 | 0.8x | 44 | 73% |
| EMA 크로스오버 fast=70, slow=78 |
-1.1% | -21.2% | -0.54 | -0.05 | 0.8x | 34 | 55% |
| SMA 크로스오버 fast=59, slow=205 |
-1.2% | -19.7% | -0.60 | -0.06 | 0.8x | 26 | 51% |
| Parabolic SAR step=0.005, maxStep=0.02 |
-2.1% | -35.4% | -0.68 | -0.06 | 0.7x | 88 | 56% |
| MACD fast=30, slow=69, signal=21 |
-2.3% | -34.8% | -1.25 | -0.07 | 0.7x | 104 | 47% |
| Buy and hold | 0.1% | -11.7% | 0.05 | 0.01 | 1.0x | 1 | 100% |
Rules of the top strategy
Looks at both the direction and the strength of the trend; holds only in a strong uptrend.
- Buy — Buy when up-direction (+DI) beats down-direction (−DI) and trend strength (ADX, 36-day) is ≥ 50
- Sell — Sell when direction flips or the trend weakens (ADX < 50)