Trend-Following Backtester · Guide · backtest 한국어

equity · US

Twilio Inc. backtest

10 trend-following strategies were compared on the full daily history of Twilio Inc.. 5 beat buy-and-hold CAGR; ROC 모멘텀 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ROC 모멘텀 (CAGR 36.2%, MDD -45.2%).

Data 2016-06-23 ~ 2026-07-31daily bars 2,540 (10.1 years)Costs 0.5%Venue XNYSMonthly snapshot 2026-07-31

Results by strategy

5 of 10 beat buy and hold (CAGR 20.9%, drawdown -90.4%).

Sharpe leader (same as main): ROC 모멘텀 — CAGR 36.2%, MDD -45.2%, Sharpe 0.94, 49% exposure.

Return/drawdown alternative: ROC 모멘텀 — CAGR is 15.3%p higher than buy and hold, while drawdown improves by 45.2%p (CAGR 36.2%, MDD -45.2%, exposure 49%).

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
ROC 모멘텀
n=132, threshold=0.06
36.2%-45.2%0.940.8022.7x7549%
볼린저 밴드 돌파
n=56, k=3.5
16.0%-30.6%0.800.524.5x1017%
Donchian 채널 돌파
entryN=105, exitN=70
24.6%-50.5%0.780.499.2x940%
Supertrend
period=8, mult=4.3
26.2%-53.3%0.760.4910.5x3553%
EMA 크로스오버
fast=50, slow=140
22.5%-49.1%0.700.467.8x1351%
SMA 크로스오버
fast=19, slow=55
22.6%-64.9%0.690.357.8x4353%
ADX / DI 방향성
period=26, threshold=12
16.9%-48.6%0.600.354.8x9845%
Keltner 채널 돌파
emaPeriod=57, atrPeriod=8, mult=1.4
13.8%-56.7%0.520.243.7x6845%
Parabolic SAR
step=0.02, maxStep=0.3
13.4%-76.9%0.500.173.6x21851%
MACD
fast=17, slow=59, signal=19
-0.5%-88.6%0.20-0.010.9x10653%
Buy and hold20.9%-90.4%0.620.236.8x1100%
1x 10x 2017 2019 2021 2023 2025 ROC 모멘텀Buy and hold
ROC 모멘텀: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -23% -45% -68% -90% 2017 2019 2021 2023 2025 Buy and holdROC 모멘텀
ROC 모멘텀 maximum drawdown -45.2% (2025-01-30 → 2025-04-08), recovered after 445 days.

Rules of the top strategy

Rides the trend when recent return (momentum) over a window is above a threshold.

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