Trend-Following Backtester · Guide · backtest 한국어

equity · US

CarGurus, Inc. backtest

10 trend-following strategies were compared on the full daily history of CarGurus, Inc.. 4 beat buy-and-hold CAGR; MACD ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is 볼린저 밴드 돌파 (CAGR 4.9%, MDD -34.5%).

Data 2017-10-12 ~ 2026-07-31daily bars 2,211 (8.8 years)Costs 0.5%Venue XNASMonthly snapshot 2026-07-31

Results by strategy

4 of 10 beat buy and hold (CAGR 3.1%, drawdown -78.7%).

Sharpe leader (same as main): MACD — CAGR 17.1%, MDD -42.3%, Sharpe 0.62, 52% exposure.

Return/drawdown alternative: 볼린저 밴드 돌파 — CAGR is 14.0%p higher than buy and hold, while drawdown improves by 36.4%p (CAGR 4.9%, MDD -34.5%, exposure 42%).

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=22, slow=33, signal=19
17.1%-42.3%0.620.414.0x8352%
Supertrend
period=24, mult=3.7
9.0%-37.9%0.420.242.1x3951%
SMA 크로스오버
fast=10, slow=31
5.8%-49.9%0.330.121.6x8155%
볼린저 밴드 돌파
n=49, k=1.6
4.9%-34.5%0.310.141.5x4542%
Donchian 채널 돌파
entryN=5, exitN=94
2.2%-76.0%0.280.031.2x2591%
Keltner 채널 돌파
emaPeriod=12, atrPeriod=16, mult=2.2
2.0%-25.9%0.210.081.2x269%
Parabolic SAR
step=0.005, maxStep=0.2
1.5%-51.6%0.210.031.1x7553%
ROC 모멘텀
n=36, threshold=0.04
1.9%-46.4%0.210.041.2x13945%
ADX / DI 방향성
period=32, threshold=27
0.6%-18.4%0.110.031.1x64%
EMA 크로스오버
fast=15, slow=48
-2.8%-59.7%0.08-0.050.8x5155%
Buy and hold3.1%-78.7%0.310.041.3x1100%
1x 2018 2020 2022 2024 2026 MACDBuy and hold
MACD: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -20% -39% -59% -79% 2018 2020 2022 2024 2026 Buy and holdMACD
MACD maximum drawdown -42.3% (2022-02-28 → 2022-12-07), recovered after 638 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 carried forward from the latest full optimization and replayed on this monthly dataset. 0.5% trading costs are included; taxes, slippage and rejected orders are not.
Re-optimize the same period and setupAll asset reports

Read next