Trend-Following Backtester · Guide · backtest 한국어
equity · US
Royalty Pharma plc backtest
10 trend-following strategies were compared on the full daily history of Royalty Pharma plc. 4 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is 볼린저 밴드 돌파 (CAGR 5.0%, MDD -13.0%).
Results by strategy
4 of 10 beat buy and hold (CAGR 4.3%, drawdown -54.0%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 9.8%, MDD -17.5%, Sharpe 0.77, 36% exposure.
Return/drawdown alternative: 볼린저 밴드 돌파 — CAGR is 5.5%p higher than buy and hold, while drawdown improves by 36.5%p (CAGR 5.0%, MDD -13.0%, exposure 18%).
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=53, slow=351 |
9.8% | -17.5% | 0.77 | 0.56 | 1.8x | 3 | 36% |
| Keltner 채널 돌파 emaPeriod=11, atrPeriod=28, mult=3.8 |
1.8% | -2.8% | 0.67 | 0.63 | 1.1x | 2 | 2% |
| EMA 크로스오버 fast=53, slow=206 |
7.9% | -16.9% | 0.61 | 0.47 | 1.6x | 5 | 38% |
| 볼린저 밴드 돌파 n=58, k=3.1 |
5.0% | -13.0% | 0.54 | 0.38 | 1.4x | 6 | 18% |
| Donchian 채널 돌파 entryN=67, exitN=47 |
8.2% | -28.4% | 0.54 | 0.29 | 1.6x | 7 | 47% |
| ROC 모멘텀 n=146, threshold=0.13 |
4.2% | -26.2% | 0.41 | 0.16 | 1.3x | 29 | 26% |
| ADX / DI 방향성 period=24, threshold=32 |
1.1% | -5.2% | 0.27 | 0.21 | 1.1x | 4 | 3% |
| Supertrend period=22, mult=3 |
-1.0% | -60.7% | 0.05 | -0.02 | 0.9x | 38 | 55% |
| MACD fast=7, slow=56, signal=9 |
-5.7% | -52.7% | -0.22 | -0.11 | 0.7x | 132 | 49% |
| Parabolic SAR step=0.025, maxStep=0.12 |
-6.9% | -52.9% | -0.27 | -0.13 | 0.6x | 146 | 52% |
| Buy and hold | 4.3% | -54.0% | 0.29 | 0.08 | 1.3x | 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 53-day average price crosses above the 351-day average
- Sell — Sell (to cash) when the 53-day average falls below the 351-day average