Trend-Following Backtester · Guide · backtest 한국어
equity · US
Cloudflare, Inc. backtest
10 trend-following strategies were compared on the full daily history of Cloudflare, Inc.. 1 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is SMA 크로스오버 (CAGR 56.1%, MDD -63.1%).
Results by strategy
1 of 10 beat buy and hold (CAGR 52.1%, drawdown -82.6%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 56.1%, MDD -63.1%, Sharpe 1.18, 65% exposure.
Return/drawdown alternative: SMA 크로스오버 — CAGR is 4.0%p higher than buy and hold, while drawdown improves by 19.4%p (CAGR 56.1%, MDD -63.1%, exposure 65%).
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 |
|---|---|---|---|---|---|---|---|
| SMA 크로스오버 fast=57, slow=173 |
56.1% | -63.1% | 1.18 | 0.89 | 23.1x | 7 | 65% |
| EMA 크로스오버 fast=54, slow=212 |
43.7% | -63.1% | 1.00 | 0.69 | 12.9x | 5 | 68% |
| ROC 모멘텀 n=127, threshold=0.14 |
40.8% | -61.8% | 0.99 | 0.66 | 11.2x | 51 | 56% |
| Supertrend period=26, mult=2.2 |
39.7% | -53.2% | 0.95 | 0.75 | 10.5x | 81 | 54% |
| Keltner 채널 돌파 emaPeriod=63, atrPeriod=29, mult=1.1 |
36.6% | -53.0% | 0.93 | 0.69 | 9.0x | 45 | 56% |
| ADX / DI 방향성 period=36, threshold=13 |
27.5% | -55.5% | 0.87 | 0.50 | 5.6x | 37 | 38% |
| Donchian 채널 돌파 entryN=12, exitN=45 |
37.2% | -68.6% | 0.84 | 0.54 | 9.3x | 25 | 80% |
| 볼린저 밴드 돌파 n=59, k=1.1 |
32.4% | -41.4% | 0.84 | 0.78 | 7.2x | 39 | 57% |
| Parabolic SAR step=0.04, maxStep=0.18 |
22.8% | -73.4% | 0.67 | 0.31 | 4.2x | 218 | 53% |
| MACD fast=6, slow=23, signal=3 |
19.9% | -55.8% | 0.61 | 0.36 | 3.6x | 278 | 50% |
| Buy and hold | 52.1% | -82.6% | 0.96 | 0.63 | 19.2x | 1 | 100% |
Rules of the top strategy
When the short average rises above the long average, it reads that as an uptrend starting.
- Buy — Buy when the 57-day average price crosses above the 173-day average
- Sell — Sell (to cash) when the 57-day average falls below the 173-day average