Trend-Following Backtester · Guide · backtest 한국어
equity · US
Comfort Systems USA, Inc. backtest
10 trend-following strategies were compared on the full daily history of Comfort Systems USA, Inc.. 0 beat buy-and-hold CAGR; EMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is EMA 크로스오버 (CAGR 13.0%, MDD -62.0%).
Results by strategy
0 of 10 beat buy and hold (CAGR 17.2%, drawdown -93.4%).
Sharpe leader (same as main): EMA 크로스오버 — CAGR 13.0%, MDD -62.0%, Sharpe 0.54, 64% exposure.
Return/drawdown alternative: EMA 크로스오버 — CAGR is 4.1%p lower than buy and hold, while drawdown improves by 31.4%p (CAGR 13.0%, MDD -62.0%, exposure 64%).
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 |
|---|---|---|---|---|---|---|---|
| EMA 크로스오버 fast=16, slow=181 |
13.0% | -62.0% | 0.54 | 0.21 | 36.1x | 63 | 64% |
| SMA 크로스오버 fast=7, slow=150 |
12.9% | -68.5% | 0.54 | 0.19 | 34.8x | 90 | 63% |
| Supertrend period=14, mult=5 |
12.3% | -74.5% | 0.51 | 0.17 | 29.8x | 90 | 63% |
| ROC 모멘텀 n=83, threshold=-0.06 |
10.5% | -76.9% | 0.46 | 0.14 | 18.4x | 288 | 70% |
| Donchian 채널 돌파 entryN=71, exitN=71 |
9.6% | -72.8% | 0.45 | 0.13 | 14.7x | 52 | 58% |
| 볼린저 밴드 돌파 n=77, k=2.9 |
6.5% | -50.0% | 0.43 | 0.13 | 6.3x | 40 | 22% |
| Keltner 채널 돌파 emaPeriod=58, atrPeriod=9, mult=3.3 |
5.9% | -52.6% | 0.37 | 0.11 | 5.3x | 92 | 32% |
| ADX / DI 방향성 period=26, threshold=28 |
3.0% | -29.8% | 0.32 | 0.10 | 2.3x | 40 | 8% |
| MACD fast=12, slow=22, signal=17 |
5.1% | -67.4% | 0.32 | 0.08 | 4.3x | 427 | 50% |
| Parabolic SAR step=0.015, maxStep=0.12 |
1.6% | -78.8% | 0.21 | 0.02 | 1.6x | 507 | 54% |
| Buy and hold | 17.2% | -93.4% | 0.57 | 0.18 | 102.9x | 1 | 100% |
Rules of the top strategy
Uses two exponential averages (more weight on recent prices) and trades their crossover.
- Buy — Buy when the 16-day EMA crosses above the 181-day EMA
- Sell — Sell when the 16-day EMA falls below the 181-day EMA