Trend-Following Backtester · Guide · backtest 한국어
equity · US
BioMarin Pharmaceutical Inc. backtest
10 trend-following strategies were compared on the full daily history of BioMarin Pharmaceutical Inc.. 3 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is SMA 크로스오버 (CAGR 8.2%, MDD -64.2%).
Results by strategy
3 of 10 beat buy and hold (CAGR 5.8%, drawdown -90.6%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 8.2%, MDD -64.2%, Sharpe 0.40, 54% exposure.
Return/drawdown alternative: SMA 크로스오버 — CAGR is 2.4%p higher than buy and hold, while drawdown improves by 26.3%p (CAGR 8.2%, MDD -64.2%, exposure 54%).
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=57, slow=216 |
8.2% | -64.2% | 0.40 | 0.13 | 8.5x | 37 | 54% |
| EMA 크로스오버 fast=44, slow=131 |
6.4% | -76.5% | 0.35 | 0.08 | 5.5x | 45 | 53% |
| Donchian 채널 돌파 entryN=9, exitN=100 |
5.8% | -83.1% | 0.35 | 0.07 | 4.6x | 61 | 90% |
| Parabolic SAR step=0.005, maxStep=0.2 |
4.2% | -79.1% | 0.28 | 0.05 | 3.0x | 224 | 50% |
| Supertrend period=29, mult=5 |
4.0% | -82.9% | 0.28 | 0.05 | 2.9x | 74 | 51% |
| 볼린저 밴드 돌파 n=51, k=1.1 |
4.1% | -73.5% | 0.28 | 0.06 | 3.0x | 170 | 43% |
| ROC 모멘텀 n=139, threshold=-0.03 |
3.1% | -91.7% | 0.26 | 0.03 | 2.3x | 205 | 60% |
| Keltner 채널 돌파 emaPeriod=53, atrPeriod=27, mult=2 |
2.5% | -62.1% | 0.22 | 0.04 | 2.0x | 136 | 38% |
| ADX / DI 방향성 period=32, threshold=24 |
2.0% | -41.0% | 0.20 | 0.05 | 1.7x | 28 | 7% |
| MACD fast=13, slow=18, signal=13 |
-4.4% | -94.0% | 0.03 | -0.05 | 0.3x | 486 | 50% |
| Buy and hold | 5.8% | -90.6% | 0.36 | 0.06 | 4.6x | 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 57-day average price crosses above the 216-day average
- Sell — Sell (to cash) when the 57-day average falls below the 216-day average