Trend-Following Backtester · Guide · backtest 한국어
equity · US
Roku, Inc. backtest
10 trend-following strategies were compared on the full daily history of Roku, Inc.. 2 beat buy-and-hold CAGR; Supertrend ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Supertrend (CAGR 44.7%, MDD -35.5%).
Results by strategy
2 of 10 beat buy and hold (CAGR 22.8%, drawdown -91.9%).
Sharpe leader (same as main): Supertrend — CAGR 44.7%, MDD -35.5%, Sharpe 0.97, 51% exposure.
Return/drawdown alternative: Supertrend — CAGR is 21.9%p higher than buy and hold, while drawdown improves by 56.4%p (CAGR 44.7%, MDD -35.5%, exposure 51%).
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 |
|---|---|---|---|---|---|---|---|
| Supertrend period=21, mult=4.2 |
44.7% | -35.5% | 0.97 | 1.26 | 26.2x | 31 | 51% |
| Donchian 채널 돌파 entryN=29, exitN=47 |
30.9% | -54.6% | 0.77 | 0.57 | 10.8x | 23 | 60% |
| Keltner 채널 돌파 emaPeriod=44, atrPeriod=16, mult=1.3 |
21.6% | -44.3% | 0.67 | 0.49 | 5.6x | 61 | 43% |
| ADX / DI 방향성 period=35, threshold=7 |
22.7% | -57.4% | 0.66 | 0.40 | 6.1x | 87 | 58% |
| EMA 크로스오버 fast=9, slow=145 |
22.5% | -56.1% | 0.66 | 0.40 | 6.0x | 23 | 55% |
| SMA 크로스오버 fast=33, slow=66 |
22.0% | -65.2% | 0.66 | 0.34 | 5.8x | 27 | 54% |
| 볼린저 밴드 돌파 n=45, k=1.3 |
19.4% | -48.8% | 0.64 | 0.40 | 4.8x | 49 | 43% |
| ROC 모멘텀 n=58, threshold=0.11 |
18.3% | -67.4% | 0.60 | 0.27 | 4.4x | 89 | 43% |
| MACD fast=13, slow=29, signal=18 |
1.8% | -91.0% | 0.28 | 0.02 | 1.2x | 116 | 52% |
| Parabolic SAR step=0.015, maxStep=0.34 |
-1.5% | -88.0% | 0.21 | -0.02 | 0.9x | 159 | 52% |
| Buy and hold | 22.8% | -91.9% | 0.64 | 0.25 | 6.1x | 1 | 100% |
Rules of the top strategy
Trades the direction of a volatility-based trend line that trails below/above price.
- Buy — Buy when price moves above the trend line (flips up) — 21-day volatility, 4.2× band
- Sell — Sell when price drops below the trend line (flips down)