Trend-Following Backtester · Guide · backtest 한국어
equity · US
McKesson Corporation backtest
10 trend-following strategies were compared on the full daily history of McKesson Corporation. 0 beat buy-and-hold CAGR; EMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is EMA 크로스오버 (CAGR 12.0%, MDD -50.0%).
Results by strategy
0 of 10 beat buy and hold (CAGR 13.2%, drawdown -83.0%).
Sharpe leader (same as main): EMA 크로스오버 — CAGR 12.0%, MDD -50.0%, Sharpe 0.64, 66% exposure.
Return/drawdown alternative: EMA 크로스오버 — CAGR is 1.1%p lower than buy and hold, while drawdown improves by 33.0%p (CAGR 12.0%, MDD -50.0%, exposure 66%).
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=12, slow=137 |
12.0% | -50.0% | 0.64 | 0.24 | 37.5x | 69 | 66% |
| SMA 크로스오버 fast=18, slow=121 |
11.9% | -55.7% | 0.63 | 0.21 | 35.6x | 73 | 64% |
| Supertrend period=36, mult=5 |
11.3% | -52.5% | 0.63 | 0.21 | 30.0x | 83 | 62% |
| 볼린저 밴드 돌파 n=69, k=3.2 |
5.0% | -19.2% | 0.59 | 0.26 | 4.7x | 20 | 14% |
| Donchian 채널 돌파 entryN=68, exitN=69 |
9.3% | -51.3% | 0.53 | 0.18 | 16.9x | 51 | 66% |
| Keltner 채널 돌파 emaPeriod=76, atrPeriod=18, mult=1.9 |
8.1% | -55.4% | 0.51 | 0.15 | 12.1x | 144 | 54% |
| ROC 모멘텀 n=100, threshold=-0.01 |
8.9% | -57.8% | 0.51 | 0.15 | 15.2x | 239 | 67% |
| ADX / DI 방향성 period=47, threshold=13 |
5.2% | -51.4% | 0.41 | 0.10 | 5.0x | 152 | 35% |
| MACD fast=20, slow=58, signal=34 |
3.5% | -85.1% | 0.27 | 0.04 | 3.0x | 242 | 50% |
| Parabolic SAR step=0.015, maxStep=0.06 |
2.8% | -58.8% | 0.24 | 0.05 | 2.4x | 444 | 58% |
| Buy and hold | 13.2% | -83.0% | 0.56 | 0.16 | 51.5x | 1 | 100% |
Rules of the top strategy
Uses two exponential averages (more weight on recent prices) and trades their crossover.
- Buy — Buy when the 12-day EMA crosses above the 137-day EMA
- Sell — Sell when the 12-day EMA falls below the 137-day EMA