Trend-Following Backtester · Guide · backtest 한국어
equity · US
HealthEquity, Inc. backtest
10 trend-following strategies were compared on the full daily history of HealthEquity, Inc.. 4 beat buy-and-hold CAGR; MACD ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Parabolic SAR (CAGR 15.5%, MDD -37.3%).
Results by strategy
4 of 10 beat buy and hold (CAGR 14.1%, drawdown -60.7%).
Sharpe leader (same as main): MACD — CAGR 19.2%, MDD -37.4%, Sharpe 0.75, 51% exposure.
Return/drawdown alternative: Parabolic SAR — CAGR is 5.1%p higher than buy and hold, while drawdown improves by 23.3%p (CAGR 15.5%, MDD -37.3%, exposure 53%).
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=14, slow=47, signal=19 |
19.2% | -37.4% | 0.75 | 0.51 | 8.5x | 118 | 51% |
| Parabolic SAR step=0.005, maxStep=0.28 |
15.5% | -37.3% | 0.63 | 0.42 | 5.8x | 104 | 53% |
| ROC 모멘텀 Hold-like · Exposure 96% n=5, threshold=-0.11 |
16.0% | -60.4% | 0.57 | 0.26 | 6.1x | 89 | 96% |
| Donchian 채널 돌파 entryN=7, exitN=86 |
15.6% | -53.7% | 0.56 | 0.29 | 5.8x | 29 | 91% |
| Supertrend period=9, mult=3.4 |
10.5% | -44.6% | 0.48 | 0.23 | 3.4x | 66 | 56% |
| 볼린저 밴드 돌파 n=39, k=1.1 |
7.6% | -46.1% | 0.40 | 0.16 | 2.4x | 102 | 48% |
| SMA 크로스오버 fast=9, slow=26 |
7.7% | -43.1% | 0.40 | 0.18 | 2.5x | 126 | 56% |
| Keltner 채널 돌파 emaPeriod=54, atrPeriod=17, mult=1.3 |
6.8% | -48.4% | 0.39 | 0.14 | 2.2x | 78 | 47% |
| EMA 크로스오버 fast=10, slow=33 |
2.0% | -64.5% | 0.22 | 0.03 | 1.3x | 94 | 59% |
| ADX / DI 방향성 period=22, threshold=38 |
0.3% | -4.5% | 0.15 | 0.07 | 1.0x | 2 | 0% |
| Buy and hold | 14.1% | -60.7% | 0.52 | 0.23 | 5.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 (14/47) crosses above its 19-day signal line
- Sell — Sell when the MACD line crosses back below the signal line