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 Donchian 채널 돌파 (CAGR 27.3%, MDD -37.7%).
Results by strategy
5 of 10 beat buy and hold (CAGR 25.3%, drawdown -90.4%).
Sharpe leader (same as main): ROC 모멘텀 — CAGR 40.2%, MDD -45.2%, Sharpe 1.01, 47% exposure.
CAGR reference leader: Supertrend — CAGR 41.5%, MDD -43.7%, exposure 55%.
Return/drawdown alternative: Donchian 채널 돌파 — CAGR is 15.0%p higher than buy and hold, while drawdown improves by 45.2%p (CAGR 27.3%, MDD -37.7%, exposure 29%).
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=138, threshold=0.1 |
40.2% | -45.2% | 1.01 | 0.89 | 32.3x | 69 | 47% |
| Supertrend period=3, mult=5 |
41.5% | -43.7% | 1.01 | 0.95 | 35.4x | 33 | 55% |
| Donchian 채널 돌파 entryN=121, exitN=18 |
27.3% | -37.7% | 0.93 | 0.72 | 11.9x | 17 | 29% |
| SMA 크로스오버 fast=25, slow=290 |
32.5% | -45.2% | 0.88 | 0.72 | 18.0x | 11 | 52% |
| 볼린저 밴드 돌파 n=41, k=3 |
18.8% | -31.0% | 0.84 | 0.61 | 5.9x | 19 | 19% |
| EMA 크로스오버 fast=52, slow=135 |
27.4% | -47.2% | 0.79 | 0.58 | 12.1x | 13 | 52% |
| ADX / DI 방향성 period=25, threshold=24 |
14.5% | -27.4% | 0.71 | 0.53 | 4.0x | 20 | 15% |
| Keltner 채널 돌파 emaPeriod=31, atrPeriod=19, mult=1 |
17.9% | -52.1% | 0.62 | 0.34 | 5.4x | 107 | 45% |
| Parabolic SAR step=0.025, maxStep=0.14 |
14.9% | -80.2% | 0.53 | 0.19 | 4.2x | 237 | 53% |
| MACD fast=23, slow=69, signal=30 |
11.1% | -82.5% | 0.46 | 0.13 | 2.9x | 67 | 53% |
| Buy and hold | 25.3% | -90.4% | 0.67 | 0.28 | 10.1x | 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 138-day return is greater than 10%
- Sell — Sell when the 138-day return drops to 10% or below