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. 6 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-07-31daily bars 5,922 (23.5 years)Costs 0.5%Venue XNYSMonthly snapshot 2026-07-31

Results by strategy

6 of 10 beat buy and hold (CAGR -1.2%, drawdown -48.2%).

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

Return/drawdown alternative: ROC 모멘텀 — CAGR is 1.6%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=54, slow=161
0.3%-30.7%0.080.011.1x3253%
Donchian 채널 돌파
entryN=114, exitN=59
0.0%-22.6%0.030.001.0x3240%
Keltner 채널 돌파
emaPeriod=13, atrPeriod=20, mult=3.6
-0.0%-9.2%-0.01-0.001.0x41%
ADX / DI 방향성
period=33, threshold=37
-0.0%-3.9%-0.09-0.011.0x21%
EMA 크로스오버
fast=45, slow=67
-1.3%-50.9%-0.11-0.020.7x5256%
Supertrend
period=16, mult=4.5
-1.7%-42.1%-0.14-0.040.7x8660%
볼린저 밴드 돌파
n=38, k=3.5
-0.3%-10.9%-0.17-0.030.9x41%
MACD
fast=24, slow=41, signal=24
-3.7%-62.0%-0.38-0.060.4x20052%
Parabolic SAR
step=0.005, maxStep=0.08
-5.0%-73.2%-0.49-0.070.3x20057%
Buy and hold-1.2%-48.2%-0.01-0.030.8x1100%
1x 2004 2007 2010 2013 2016 2019 2022 2025 ROC 모멘텀Buy and hold
ROC 모멘텀: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -12% -24% -36% -48% 2004 2007 2010 2013 2016 2019 2022 2025 Buy and holdROC 모멘텀
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 40 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 setupAll asset reports

Read next