SleepWell Trade

Trend-Following Backtester · Guide · backtest 한국어

etf · US

Nuveen AMT-Free Quality Municipal Income Fund backtest

10 trend-following strategies were compared on the full daily history of Nuveen AMT-Free Quality Municipal Income Fund. 8 beat buy-and-hold CAGR; ROC 모멘텀 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ROC 모멘텀 (CAGR 0.4%, MDD -1.9%).

Data 2003-01-16 ~ 2026-09-30daily bars 5,964 (23.7 years)Costs 0.5%Venue XNYSMonthly snapshot 2026-09-30

Results by strategy

8 of 10 beat buy and hold (CAGR -1.7%, drawdown -48.2%).

Sharpe leader (same as main): ROC 모멘텀 — CAGR 0.4%, MDD -1.9%, Sharpe 0.32, 0% exposure.

CAGR reference leader: SMA 크로스오버 — CAGR 0.5%, MDD -30.0%, exposure 53%.

Return/drawdown alternative: ROC 모멘텀 — CAGR is 2.1%p higher than buy and hold, while drawdown improves by 46.3%p (CAGR 0.4%, MDD -1.9%, 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 · parametersCAGRMDDSharpeCalmarTotalTradesExposure
ROC 모멘텀
n=7, threshold=0.14
0.4%-1.9%0.320.221.1x100%
SMA 크로스오버
fast=65, slow=156
0.5%-30.0%0.100.021.1x3453%
ADX / DI 방향성
period=28, threshold=39
0.0%-2.2%0.090.011.0x21%
Donchian 채널 돌파
entryN=114, exitN=57
0.1%-22.6%0.050.001.0x3239%
Keltner 채널 돌파
emaPeriod=6, atrPeriod=22, mult=2.3
-0.0%-8.2%0.00-0.001.0x61%
Supertrend
period=26, mult=4.9
-1.4%-38.0%-0.10-0.040.7x7461%
EMA 크로스오버
fast=49, slow=66
-1.4%-53.2%-0.13-0.030.7x4856%
볼린저 밴드 돌파
n=37, k=3.5
-0.3%-10.6%-0.17-0.030.9x41%
MACD
fast=22, slow=52, signal=21
-3.5%-61.8%-0.36-0.060.4x19652%
Parabolic SAR
step=0.005, maxStep=0.08
-5.0%-73.2%-0.49-0.070.3x20057%
Buy and hold-1.7%-48.2%-0.05-0.040.7x1100%
1x 2004 2007 2010 2013 2016 2019 2022 2025 SMA 크로스오버ROC 모멘텀Buy and hold
ROC 모멘텀 (Sharpe leader), SMA 크로스오버 (CAGR reference), Buy and hold.
0% -12% -24% -36% -48% 2004 2007 2010 2013 2016 2019 2022 2025 Buy and holdSMA 크로스오버ROC 모멘텀
ROC 모멘텀 maximum drawdown -1.9% (2020-03-30 → 2020-04-01), prior peak not yet recovered.

Rules of the top strategy

Rides the trend when recent return (momentum) over a window is above a threshold.

Method and caveats

Past performance does not guarantee future returns. Parameters were selected on the same full-history sample using sharpe over 120 trials per strategy, so results contain in-sample bias. 0.5% trading costs are included; taxes, slippage and rejected orders are not.
Re-run the same setupMore US assetsAll asset reports

Read next