Trend-Following Backtester · Guide · backtest 한국어
equity · US
Universal Health Services, Inc. backtest
10 trend-following strategies were compared on the full daily history of Universal Health Services, Inc.. 0 beat buy-and-hold CAGR; MACD ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is MACD (CAGR 9.1%, MDD -53.5%).
Results by strategy
0 of 10 beat buy and hold (CAGR 11.5%, drawdown -89.7%).
Sharpe leader (same as main): MACD — CAGR 9.1%, MDD -53.5%, Sharpe 0.47, 52% exposure.
CAGR reference leader: Donchian 채널 돌파 — CAGR 9.1%, MDD -68.4%, exposure 78%.
Return/drawdown alternative: MACD — CAGR is 2.4%p lower than buy and hold, while drawdown improves by 36.2%p (CAGR 9.1%, MDD -53.5%, exposure 52%).
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=22, slow=73, signal=17 |
9.1% | -53.5% | 0.47 | 0.17 | 51.2x | 389 | 52% |
| Supertrend period=27, mult=3.4 |
8.9% | -68.1% | 0.46 | 0.13 | 46.4x | 271 | 56% |
| Donchian 채널 돌파 entryN=29, exitN=78 |
9.1% | -68.4% | 0.44 | 0.13 | 51.5x | 101 | 78% |
| SMA 크로스오버 fast=26, slow=47 |
8.1% | -67.5% | 0.43 | 0.12 | 34.0x | 253 | 58% |
| 볼린저 밴드 돌파 n=45, k=1.2 |
6.6% | -64.2% | 0.39 | 0.10 | 17.7x | 317 | 47% |
| ADX / DI 방향성 period=39, threshold=14 |
6.0% | -70.3% | 0.38 | 0.09 | 13.8x | 240 | 38% |
| Parabolic SAR step=0.01, maxStep=0.22 |
6.7% | -70.7% | 0.38 | 0.09 | 18.6x | 565 | 54% |
| EMA 크로스오버 fast=21, slow=53 |
6.5% | -73.9% | 0.38 | 0.09 | 17.2x | 191 | 60% |
| Keltner 채널 돌파 emaPeriod=29, atrPeriod=36, mult=1.8 |
5.6% | -49.8% | 0.37 | 0.11 | 11.6x | 340 | 39% |
| ROC 모멘텀 n=54, threshold=-0.03 |
5.7% | -84.5% | 0.34 | 0.07 | 12.2x | 501 | 67% |
| Buy and hold | 11.5% | -89.7% | 0.48 | 0.13 | 137.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 (22/73) crosses above its 17-day signal line
- Sell — Sell when the MACD line crosses back below the signal line