SleepWell Trade

Trend-Following Backtester · Guide · backtest 한국어

etf · US

Nuveen California AMT-Free Quality Municipal Income Fund backtest

10 trend-following strategies were compared on the full daily history of Nuveen California AMT-Free Quality Municipal Income Fund. 7 beat buy-and-hold CAGR; Donchian 채널 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is 볼린저 밴드 돌파 (CAGR -0.3%, MDD -15.4%).

Data 2003-01-16 ~ 2026-08-31daily bars 5,943 (23.6 years)Costs 0.5%Venue XNYSMonthly snapshot 2026-08-31

Results by strategy

7 of 10 beat buy and hold (CAGR -0.9%, drawdown -49.0%).

Sharpe leader (same as main): Donchian 채널 돌파 — CAGR 1.1%, MDD -33.1%, Sharpe 0.18, 50% exposure.

Return/drawdown alternative: 볼린저 밴드 돌파 — CAGR is 2.0%p higher than buy and hold, while drawdown improves by 15.9%p (CAGR -0.3%, MDD -15.4%, 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 · parametersCAGRMDDSharpeCalmarTotalTradesExposure
Donchian 채널 돌파
entryN=79, exitN=72
1.1%-33.1%0.180.031.3x3250%
SMA 크로스오버
fast=72, slow=161
0.3%-29.1%0.080.011.1x3653%
ROC 모멘텀
Hold-like · Exposure 99%
n=4, threshold=-0.07
0.1%-45.4%0.070.001.0x2799%
Keltner 채널 돌파
emaPeriod=57, atrPeriod=8, mult=4
-0.2%-22.6%-0.02-0.010.9x5222%
EMA 크로스오버
fast=55, slow=143
-0.9%-37.5%-0.05-0.020.8x3454%
ADX / DI 방향성
period=39, threshold=15
-0.8%-28.2%-0.09-0.030.8x11632%
Supertrend
period=12, mult=3
-1.3%-48.0%-0.10-0.030.7x18255%
볼린저 밴드 돌파
n=24, k=3
-0.3%-15.4%-0.11-0.020.9x162%
MACD
fast=17, slow=57, signal=15
-2.6%-56.1%-0.24-0.050.5x26052%
Parabolic SAR
step=0.005, maxStep=0.14
-4.4%-70.4%-0.43-0.060.3x19656%
Buy and hold-0.9%-49.0%0.01-0.020.8x1100%
1x 2004 2007 2010 2013 2016 2019 2022 2025 Donchian 채널 돌파Buy and hold
Donchian 채널 돌파: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -12% -24% -37% -49% 2004 2007 2010 2013 2016 2019 2022 2025 Buy and holdDonchian 채널 돌파
Donchian 채널 돌파 maximum drawdown -33.1% (2003-06-16 → 2009-11-24), recovered after 4,195 days.

Rules of the top strategy

A new high means a trend starting; a new low means it’s over (turtle-trading style).

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 setupMore US assetsAll asset reports

Read next