Trend-Following Backtester · Guide · backtest 한국어
etf · US
NYLIM MacKay Muni Intermediate ETF backtest
10 trend-following strategies were compared on the full daily history of NYLIM MacKay Muni Intermediate ETF. 8 beat buy-and-hold CAGR; ADX / DI 방향성 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ROC 모멘텀 (CAGR -0.0%, MDD -0.7%).
Results by strategy
8 of 10 beat buy and hold (CAGR -1.1%, drawdown -15.6%).
Sharpe leader (same as main): ADX / DI 방향성 — CAGR 0.2%, MDD -2.9%, Sharpe 0.21, 12% exposure.
Return/drawdown alternative: ROC 모멘텀 — CAGR is 1.3%p higher than buy and hold, while drawdown improves by 12.6%p (CAGR -0.0%, MDD -0.7%, exposure 0%).
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=38, threshold=34 |
0.2% | -2.9% | 0.21 | 0.07 | 1.0x | 6 | 12% |
| SMA 크로스오버 fast=49, slow=138 |
0.0% | -8.1% | 0.02 | 0.00 | 1.0x | 12 | 46% |
| 볼린저 밴드 돌파 n=32, k=3.2 |
-0.1% | -3.6% | -0.08 | -0.02 | 1.0x | 4 | 6% |
| Supertrend period=24, mult=2.9 |
-0.3% | -9.4% | -0.09 | -0.03 | 1.0x | 52 | 56% |
| ROC 모멘텀 n=12, threshold=0.07 |
-0.0% | -0.7% | -0.09 | -0.03 | 1.0x | 2 | 0% |
| Keltner 채널 돌파 emaPeriod=32, atrPeriod=15, mult=3.3 |
-0.3% | -5.3% | -0.15 | -0.05 | 1.0x | 20 | 22% |
| EMA 크로스오버 fast=52, slow=98 |
-0.6% | -12.1% | -0.25 | -0.05 | 0.9x | 14 | 48% |
| Donchian 채널 돌파 entryN=83, exitN=17 |
-0.5% | -9.7% | -0.32 | -0.05 | 1.0x | 22 | 28% |
| MACD fast=16, slow=69, signal=22 |
-2.0% | -16.7% | -0.73 | -0.12 | 0.8x | 62 | 52% |
| Parabolic SAR step=0.01, maxStep=0.14 |
-3.7% | -28.6% | -1.28 | -0.13 | 0.7x | 92 | 50% |
| Buy and hold | -1.1% | -15.6% | -0.23 | -0.07 | 0.9x | 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, 38-day) is ≥ 34
- Sell — Sell when direction flips or the trend weakens (ADX < 34)