SleepWell Trade

Trend-Following Backtester · Guide · backtest 한국어

equity · US

California BanCorp backtest

10 trend-following strategies were compared on the full daily history of California BanCorp. 1 beat buy-and-hold CAGR; MACD ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is SMA 크로스오버 (CAGR 3.1%, MDD -34.6%).

Data 2005-11-10 ~ 2026-07-31daily bars 5,211 (20.7 years)Costs 0.5%Venue XNASMonthly snapshot 2026-07-31

Results by strategy

1 of 10 beat buy and hold (CAGR 3.4%, drawdown -62.0%).

Sharpe leader (same as main): MACD — CAGR 5.0%, MDD -59.2%, Sharpe 0.29, 44% exposure.

Return/drawdown alternative: SMA 크로스오버 — CAGR is 1.6%p higher than buy and hold, while drawdown improves by 2.8%p (CAGR 3.1%, MDD -34.6%, exposure 50%).

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
MACD
fast=12, slow=25, signal=7
5.0%-59.2%0.290.082.8x23244%
SMA 크로스오버
fast=14, slow=77
3.1%-34.6%0.260.091.9x6950%
볼린저 밴드 돌파
n=18, k=2.8
2.2%-39.7%0.220.061.6x7032%
Donchian 채널 돌파
entryN=119, exitN=78
0.8%-47.8%0.130.021.2x3552%
EMA 크로스오버
fast=33, slow=235
0.1%-67.8%0.120.001.0x1952%
ROC 모멘텀
n=63, threshold=0.03
0.6%-36.6%0.120.021.1x15736%
Supertrend
period=5, mult=4.3
-2.0%-78.1%0.02-0.030.7x9552%
Keltner 채널 돌파
emaPeriod=55, atrPeriod=29, mult=1.3
-2.0%-76.4%0.02-0.030.7x8349%
ADX / DI 방향성
period=37, threshold=33
-3.1%-66.8%-0.08-0.050.5x3225%
Parabolic SAR
step=0.015, maxStep=0.14
-6.0%-86.9%-0.11-0.070.3x15157%
Buy and hold3.4%-62.0%0.270.062.0x1100%
1x 2006 2009 2012 2015 2018 2021 2024 MACDBuy and hold
MACD: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -16% -31% -47% -62% 2006 2009 2012 2015 2018 2021 2024 Buy and holdMACD
MACD maximum drawdown -59.2% (2006-02-27 → 2009-08-03), recovered after 1,969 days.

Rules of the top strategy

Looks at the gap (MACD) between a short and long average crossing its own signal line.

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