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%).
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 · parameters | CAGR | MDD | Sharpe | Calmar | Total | Trades | Exposure |
|---|---|---|---|---|---|---|---|
| MACD fast=21, slow=24, signal=28 |
16.7% | -41.5% | 0.61 | 0.40 | 4.0x | 84 | 51% |
| Supertrend period=22, mult=3.7 |
8.3% | -37.7% | 0.40 | 0.22 | 2.0x | 40 | 51% |
| 볼린저 밴드 돌파 n=46, k=1.6 |
5.5% | -39.5% | 0.34 | 0.14 | 1.6x | 50 | 42% |
| SMA 크로스오버 fast=11, slow=33 |
5.5% | -46.4% | 0.32 | 0.12 | 1.6x | 74 | 55% |
| ROC 모멘텀 n=33, threshold=0.01 |
4.3% | -48.2% | 0.29 | 0.09 | 1.5x | 132 | 51% |
| ADX / DI 방향성 period=14, threshold=29 |
3.2% | -24.6% | 0.29 | 0.13 | 1.3x | 48 | 15% |
| Donchian 채널 돌파 entryN=29, exitN=28 |
1.7% | -46.3% | 0.22 | 0.04 | 1.2x | 40 | 51% |
| Parabolic SAR step=0.005, maxStep=0.2 |
1.3% | -51.6% | 0.20 | 0.02 | 1.1x | 76 | 53% |
| Keltner 채널 돌파 emaPeriod=54, atrPeriod=27, mult=0.4 |
1.1% | -53.0% | 0.19 | 0.02 | 1.1x | 96 | 52% |
| EMA 크로스오버 fast=26, slow=37 |
-3.8% | -60.8% | 0.05 | -0.06 | 0.7x | 48 | 56% |
| Buy and hold | 1.3% | -78.7% | 0.28 | 0.02 | 1.1x | 1 | 100% |
Rules of the top strategy
Looks at the gap (MACD) between a short and long average crossing its own signal line.
- Buy — Buy when the MACD line (21/24) crosses above its 28-day signal line
- Sell — Sell when the MACD line crosses back below the signal line