Trend-Following Backtester · Guide · backtest 한국어
equity · US
Roku, Inc. backtest
10 trend-following strategies were compared on the full daily history of Roku, Inc.. 6 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
6 of 10 beat buy and hold (CAGR 23.0%, drawdown -91.9%).
Sharpe leader (same as main): Supertrend — CAGR 44.7%, MDD -35.5%, Sharpe 0.98, 51% exposure.
Return/drawdown alternative: Supertrend — CAGR is 21.7%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=23, mult=4.2 |
44.7% | -35.5% | 0.98 | 1.26 | 27.9x | 31 | 51% |
| Donchian 채널 돌파 entryN=29, exitN=39 |
33.6% | -57.0% | 0.82 | 0.59 | 13.6x | 25 | 59% |
| SMA 크로스오버 fast=29, slow=73 |
31.2% | -57.8% | 0.82 | 0.54 | 11.5x | 25 | 55% |
| EMA 크로스오버 fast=21, slow=27 |
30.9% | -60.2% | 0.79 | 0.51 | 11.3x | 41 | 54% |
| Keltner 채널 돌파 emaPeriod=41, atrPeriod=11, mult=1.1 |
23.5% | -50.1% | 0.70 | 0.47 | 6.7x | 68 | 46% |
| ROC 모멘텀 n=132, threshold=-0.04 |
24.5% | -56.1% | 0.69 | 0.44 | 7.2x | 61 | 61% |
| ADX / DI 방향성 period=35, threshold=7 |
22.9% | -57.4% | 0.67 | 0.40 | 6.4x | 87 | 59% |
| 볼린저 밴드 돌파 n=16, k=3.1 |
12.0% | -22.5% | 0.64 | 0.53 | 2.8x | 12 | 7% |
| MACD fast=19, slow=31, signal=18 |
5.2% | -92.6% | 0.35 | 0.06 | 1.6x | 104 | 52% |
| Parabolic SAR step=0.015, maxStep=0.32 |
-0.8% | -88.0% | 0.22 | -0.01 | 0.9x | 160 | 52% |
| Buy and hold | 23.0% | -91.9% | 0.64 | 0.25 | 6.5x | 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) — 23-day volatility, 4.2× band
- Sell — Sell when price drops below the trend line (flips down)