Trend-Following Backtester · Guide · backtest 한국어
equity · US
Microsoft Corporation backtest
10 trend-following strategies were compared on the full daily history of Microsoft Corporation. 0 beat buy-and-hold CAGR; EMA 크로스오버 ranks first by Sharpe, matching the main backtester.
Results by strategy
0 of 10 beat buy and hold (CAGR 23.3%, drawdown -74.6%).
Sharpe leader (same as main): EMA 크로스오버 — CAGR 15.9%, MDD -76.7%, Sharpe 0.69, 72% exposure.
No strategy retained at least 75% of buy-and-hold CAGR while reducing drawdown by both 20% relatively and 5 percentage points absolutely.
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=49, slow=119 |
15.9% | -76.7% | 0.69 | 0.21 | 386.9x | 74 | 72% |
| SMA 크로스오버 fast=29, slow=138 |
15.3% | -74.5% | 0.68 | 0.20 | 310.7x | 82 | 67% |
| ROC 모멘텀 n=124, threshold=-0.09 |
15.7% | -76.8% | 0.65 | 0.20 | 355.2x | 237 | 84% |
| Donchian 채널 돌파 entryN=54, exitN=45 |
12.9% | -59.5% | 0.63 | 0.22 | 132.1x | 96 | 63% |
| Supertrend period=22, mult=4.5 |
12.1% | -75.2% | 0.62 | 0.16 | 99.9x | 149 | 58% |
| 볼린저 밴드 돌파 n=50, k=2.6 |
6.8% | -50.3% | 0.48 | 0.13 | 14.0x | 108 | 27% |
| Keltner 채널 돌파 emaPeriod=42, atrPeriod=14, mult=2 |
7.5% | -69.0% | 0.46 | 0.11 | 18.4x | 247 | 44% |
| MACD fast=16, slow=59, signal=18 |
6.4% | -56.5% | 0.39 | 0.11 | 12.3x | 455 | 51% |
| Parabolic SAR step=0.01, maxStep=0.16 |
5.7% | -68.0% | 0.36 | 0.08 | 9.5x | 573 | 56% |
| ADX / DI 방향성 period=34, threshold=13 |
4.5% | -72.4% | 0.32 | 0.06 | 5.9x | 312 | 40% |
| Buy and hold | 23.3% | -74.6% | 0.80 | 0.31 | 4756.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 49-day EMA crosses above the 119-day EMA
- Sell — Sell when the 49-day EMA falls below the 119-day EMA