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%).

Data 2017-09-28 ~ 2026-07-31daily bars 2,221 (8.8 years)Costs 0.5%Venue XNASMonthly snapshot 2026-07-31

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 · parametersCAGRMDDSharpeCalmarTotalTradesExposure
Supertrend
period=21, mult=4.2
44.7%-35.5%0.971.2626.2x3151%
Donchian 채널 돌파
entryN=29, exitN=47
30.9%-54.6%0.770.5710.8x2360%
Keltner 채널 돌파
emaPeriod=44, atrPeriod=16, mult=1.3
21.6%-44.3%0.670.495.6x6143%
ADX / DI 방향성
period=35, threshold=7
22.7%-57.4%0.660.406.1x8758%
EMA 크로스오버
fast=9, slow=145
22.5%-56.1%0.660.406.0x2355%
SMA 크로스오버
fast=33, slow=66
22.0%-65.2%0.660.345.8x2754%
볼린저 밴드 돌파
n=45, k=1.3
19.4%-48.8%0.640.404.8x4943%
ROC 모멘텀
n=58, threshold=0.11
18.3%-67.4%0.600.274.4x8943%
MACD
fast=13, slow=29, signal=18
1.8%-91.0%0.280.021.2x11652%
Parabolic SAR
step=0.015, maxStep=0.34
-1.5%-88.0%0.21-0.020.9x15952%
Buy and hold22.8%-91.9%0.640.256.1x1100%
1x 10x 2018 2020 2022 2024 2026 SupertrendBuy and hold
Supertrend: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -23% -46% -69% -92% 2018 2020 2022 2024 2026 Buy and holdSupertrend
Supertrend maximum drawdown -35.5% (2019-09-06 → 2019-11-07), recovered after 332 days.

Rules of the top strategy

Trades the direction of a volatility-based trend line that trails below/above price.

Method and caveats

Past performance does not guarantee future returns. Parameters were carried forward from the latest full optimization and replayed on this monthly dataset. 0.5% trading costs are included; taxes, slippage and rejected orders are not.
Re-optimize the same period and setupAll asset reports

Read next