SleepWell Trade

Trend-Following Backtester · Guide · backtest 한국어

equity · US

CarGurus, Inc. backtest

10 trend-following strategies were compared on the full daily history of CarGurus, Inc.. 7 beat buy-and-hold CAGR; MACD ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ADX / DI 방향성 (CAGR 3.2%, MDD -24.6%).

Data 2017-10-12 ~ 2026-09-30daily bars 2,253 (9.0 years)Costs 0.5%Venue XNASMonthly snapshot 2026-09-30

Results by strategy

7 of 10 beat buy and hold (CAGR 1.3%, drawdown -78.7%).

Sharpe leader (same as main): MACD — CAGR 16.7%, MDD -41.5%, Sharpe 0.61, 51% exposure.

Return/drawdown alternative: ADX / DI 방향성 — CAGR is 15.4%p higher than buy and hold, while drawdown improves by 37.2%p (CAGR 3.2%, MDD -24.6%, exposure 15%).

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=21, slow=24, signal=28
16.7%-41.5%0.610.404.0x8451%
Supertrend
period=22, mult=3.7
8.3%-37.7%0.400.222.0x4051%
볼린저 밴드 돌파
n=46, k=1.6
5.5%-39.5%0.340.141.6x5042%
SMA 크로스오버
fast=11, slow=33
5.5%-46.4%0.320.121.6x7455%
ROC 모멘텀
n=33, threshold=0.01
4.3%-48.2%0.290.091.5x13251%
ADX / DI 방향성
period=14, threshold=29
3.2%-24.6%0.290.131.3x4815%
Donchian 채널 돌파
entryN=29, exitN=28
1.7%-46.3%0.220.041.2x4051%
Parabolic SAR
step=0.005, maxStep=0.2
1.3%-51.6%0.200.021.1x7653%
Keltner 채널 돌파
emaPeriod=54, atrPeriod=27, mult=0.4
1.1%-53.0%0.190.021.1x9652%
EMA 크로스오버
fast=26, slow=37
-3.8%-60.8%0.05-0.060.7x4856%
Buy and hold1.3%-78.7%0.280.021.1x1100%
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 -41.5% (2022-02-28 → 2022-12-07), recovered after 630 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 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