Trend-Following Backtester · Guide · backtest 한국어
equity · US
Ameresco, Inc. backtest
10 trend-following strategies were compared on the full daily history of Ameresco, Inc.. 7 beat buy-and-hold CAGR; MACD ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is 볼린저 밴드 돌파 (CAGR 4.7%, MDD -31.7%).
Results by strategy
7 of 10 beat buy and hold (CAGR 4.5%, drawdown -91.1%).
Sharpe leader (same as main): MACD — CAGR 12.0%, MDD -56.3%, Sharpe 0.49, 51% exposure.
Return/drawdown alternative: 볼린저 밴드 돌파 — CAGR is 7.6%p higher than buy and hold, while drawdown improves by 34.8%p (CAGR 4.7%, MDD -31.7%, exposure 4%).
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=17, slow=39, signal=23 |
12.0% | -56.3% | 0.49 | 0.21 | 6.3x | 158 | 51% |
| 볼린저 밴드 돌파 n=18, k=3.5 |
4.7% | -31.7% | 0.44 | 0.15 | 2.1x | 12 | 4% |
| SMA 크로스오버 fast=12, slow=30 |
10.0% | -62.5% | 0.43 | 0.16 | 4.7x | 130 | 54% |
| ROC 모멘텀 Hold-like · Exposure 99% n=3, threshold=-0.15 |
4.0% | -92.1% | 0.35 | 0.04 | 1.9x | 47 | 99% |
| Donchian 채널 돌파 entryN=38, exitN=22 |
6.5% | -64.0% | 0.35 | 0.10 | 2.8x | 64 | 43% |
| Parabolic SAR step=0.02, maxStep=0.14 |
6.2% | -62.6% | 0.35 | 0.10 | 2.7x | 324 | 52% |
| EMA 크로스오버 fast=60, slow=276 |
5.1% | -68.2% | 0.32 | 0.08 | 2.3x | 18 | 44% |
| Keltner 채널 돌파 emaPeriod=36, atrPeriod=12, mult=3 |
4.5% | -49.2% | 0.31 | 0.09 | 2.0x | 50 | 20% |
| ADX / DI 방향성 period=35, threshold=21 |
3.8% | -40.6% | 0.31 | 0.09 | 1.8x | 24 | 11% |
| Supertrend period=16, mult=3.8 |
2.3% | -82.7% | 0.25 | 0.03 | 1.5x | 74 | 51% |
| Buy and hold | 4.5% | -91.1% | 0.36 | 0.05 | 2.0x | 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 (17/39) crosses above its 23-day signal line
- Sell — Sell when the MACD line crosses back below the signal line