Trend-Following Backtester · Guide · backtest 한국어
equity · US
Merck & Company, Inc. backtest
10 trend-following strategies were compared on the full daily history of Merck & Company, Inc.. 0 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is SMA 크로스오버 (CAGR 8.4%, MDD -51.1%).
Results by strategy
0 of 10 beat buy and hold (CAGR 8.4%, drawdown -77.9%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 8.4%, MDD -51.1%, Sharpe 0.53, 63% exposure.
Return/drawdown alternative: SMA 크로스오버 — CAGR is 0.0%p lower than buy and hold, while drawdown improves by 26.7%p (CAGR 8.4%, MDD -51.1%, exposure 63%).
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 |
|---|---|---|---|---|---|---|---|
| SMA 크로스오버 fast=59, slow=218 |
8.4% | -51.1% | 0.53 | 0.16 | 96.9x | 63 | 63% |
| Donchian 채널 돌파 entryN=150, exitN=66 |
7.2% | -47.7% | 0.52 | 0.15 | 51.3x | 63 | 49% |
| Keltner 채널 돌파 emaPeriod=233, atrPeriod=37, mult=3.6 |
6.7% | -53.1% | 0.49 | 0.13 | 40.7x | 81 | 50% |
| EMA 크로스오버 fast=28, slow=196 |
7.4% | -54.7% | 0.48 | 0.13 | 56.4x | 93 | 63% |
| ROC 모멘텀 n=186, threshold=-0.09 |
6.8% | -80.3% | 0.42 | 0.08 | 41.2x | 259 | 78% |
| ADX / DI 방향성 period=51, threshold=17 |
2.7% | -38.2% | 0.38 | 0.07 | 4.5x | 59 | 13% |
| 볼린저 밴드 돌파 n=68, k=2.9 |
2.5% | -29.5% | 0.31 | 0.09 | 4.2x | 81 | 20% |
| Supertrend period=21, mult=5 |
3.1% | -73.5% | 0.26 | 0.04 | 5.7x | 187 | 61% |
| Parabolic SAR step=0.005, maxStep=0.02 |
2.2% | -70.5% | 0.21 | 0.03 | 3.4x | 303 | 60% |
| MACD fast=13, slow=57, signal=18 |
-3.9% | -92.0% | -0.15 | -0.04 | 0.1x | 742 | 51% |
| Buy and hold | 8.4% | -77.9% | 0.45 | 0.11 | 98.1x | 1 | 100% |
Rules of the top strategy
When the short average rises above the long average, it reads that as an uptrend starting.
- Buy — Buy when the 59-day average price crosses above the 218-day average
- Sell — Sell (to cash) when the 59-day average falls below the 218-day average