Trend-Following Backtester · Guide · backtest 한국어
equity · US
Fastly, Inc. backtest
10 trend-following strategies were compared on the full daily history of Fastly, Inc.. 10 beat buy-and-hold CAGR; 볼린저 밴드 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is 볼린저 밴드 돌파 (CAGR 16.7%, MDD -31.5%).
Results by strategy
10 of 10 beat buy and hold (CAGR -0.9%, drawdown -96.1%).
Sharpe leader (same as main): 볼린저 밴드 돌파 — CAGR 16.7%, MDD -31.5%, Sharpe 0.76, 6% exposure.
CAGR reference leader: ROC 모멘텀 — CAGR 30.7%, MDD -78.6%, exposure 46%.
Return/drawdown alternative: 볼린저 밴드 돌파 — CAGR is 17.6%p higher than buy and hold, while drawdown improves by 64.6%p (CAGR 16.7%, MDD -31.5%, exposure 6%).
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 |
|---|---|---|---|---|---|---|---|
| 볼린저 밴드 돌파 n=17, k=3.5 |
16.7% | -31.5% | 0.76 | 0.53 | 3.1x | 8 | 6% |
| Keltner 채널 돌파 emaPeriod=17, atrPeriod=8, mult=3.5 |
16.0% | -33.2% | 0.73 | 0.48 | 2.9x | 8 | 7% |
| ROC 모멘텀 n=103, threshold=-0.03 |
30.7% | -78.6% | 0.72 | 0.39 | 6.9x | 69 | 46% |
| ADX / DI 방향성 period=18, threshold=39 |
12.9% | -31.5% | 0.69 | 0.41 | 2.4x | 4 | 4% |
| SMA 크로스오버 fast=12, slow=183 |
27.8% | -71.4% | 0.69 | 0.39 | 5.9x | 13 | 42% |
| EMA 크로스오버 fast=24, slow=181 |
21.9% | -72.5% | 0.61 | 0.30 | 4.2x | 11 | 40% |
| Donchian 채널 돌파 entryN=43, exitN=74 |
11.4% | -76.7% | 0.49 | 0.15 | 2.2x | 13 | 55% |
| Supertrend period=29, mult=4.5 |
12.3% | -71.4% | 0.48 | 0.17 | 2.3x | 28 | 37% |
| MACD fast=3, slow=34, signal=13 |
5.5% | -83.3% | 0.41 | 0.07 | 1.5x | 175 | 53% |
| Parabolic SAR step=0.03, maxStep=0.38 |
5.5% | -84.0% | 0.39 | 0.07 | 1.5x | 199 | 50% |
| Buy and hold | -0.9% | -96.1% | 0.43 | -0.01 | 0.9x | 1 | 100% |
Rules of the top strategy
Breaking above the upper band (average plus a multiple of volatility) signals a strong move up.
- Buy — Buy when the close breaks above the upper band of the 17-day average (3.5× volatility)
- Sell — Sell when the close falls back to the 17-day middle average