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%).
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 · parameters | CAGR | MDD | Sharpe | Calmar | Total | Trades | Exposure |
|---|---|---|---|---|---|---|---|
| ROC 모멘텀 n=132, threshold=0.06 |
36.2% | -45.2% | 0.94 | 0.80 | 22.7x | 75 | 49% |
| 볼린저 밴드 돌파 n=56, k=3.5 |
16.0% | -30.6% | 0.80 | 0.52 | 4.5x | 10 | 17% |
| Donchian 채널 돌파 entryN=105, exitN=70 |
24.6% | -50.5% | 0.78 | 0.49 | 9.2x | 9 | 40% |
| Supertrend period=8, mult=4.3 |
26.2% | -53.3% | 0.76 | 0.49 | 10.5x | 35 | 53% |
| EMA 크로스오버 fast=50, slow=140 |
22.5% | -49.1% | 0.70 | 0.46 | 7.8x | 13 | 51% |
| SMA 크로스오버 fast=19, slow=55 |
22.6% | -64.9% | 0.69 | 0.35 | 7.8x | 43 | 53% |
| ADX / DI 방향성 period=26, threshold=12 |
16.9% | -48.6% | 0.60 | 0.35 | 4.8x | 98 | 45% |
| Keltner 채널 돌파 emaPeriod=57, atrPeriod=8, mult=1.4 |
13.8% | -56.7% | 0.52 | 0.24 | 3.7x | 68 | 45% |
| Parabolic SAR step=0.02, maxStep=0.3 |
13.4% | -76.9% | 0.50 | 0.17 | 3.6x | 218 | 51% |
| MACD fast=17, slow=59, signal=19 |
-0.5% | -88.6% | 0.20 | -0.01 | 0.9x | 106 | 53% |
| Buy and hold | 20.9% | -90.4% | 0.62 | 0.23 | 6.8x | 1 | 100% |
Rules of the top strategy
Rides the trend when recent return (momentum) over a window is above a threshold.
- Buy — Buy when the last 132-day return is greater than 6%
- Sell — Sell when the 132-day return drops to 6% or below