Trend-Following Backtester · Guide · backtest 한국어
equity · US
Okta, Inc. backtest
10 trend-following strategies were compared on the full daily history of Okta, Inc.. 4 beat buy-and-hold CAGR; EMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Donchian 채널 돌파 (CAGR 26.9%, MDD -45.2%).
Results by strategy
4 of 10 beat buy and hold (CAGR 25.9%, drawdown -84.6%).
Sharpe leader (same as main): EMA 크로스오버 — CAGR 28.6%, MDD -45.6%, Sharpe 0.83, 58% exposure.
Return/drawdown alternative: Donchian 채널 돌파 — CAGR is 2.7%p higher than buy and hold, while drawdown improves by 39.0%p (CAGR 26.9%, MDD -45.2%, exposure 53%).
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 |
|---|---|---|---|---|---|---|---|
| EMA 크로스오버 fast=77, slow=196 |
28.6% | -45.6% | 0.83 | 0.63 | 10.8x | 7 | 58% |
| Donchian 채널 돌파 entryN=44, exitN=28 |
26.9% | -45.2% | 0.82 | 0.60 | 9.6x | 23 | 53% |
| SMA 크로스오버 fast=57, slow=179 |
28.2% | -47.9% | 0.82 | 0.59 | 10.6x | 17 | 58% |
| ROC 모멘텀 n=192, threshold=-0.04 |
27.4% | -57.1% | 0.80 | 0.48 | 9.9x | 51 | 65% |
| 볼린저 밴드 돌파 n=72, k=1.7 |
22.2% | -42.9% | 0.75 | 0.52 | 6.7x | 31 | 42% |
| Supertrend period=14, mult=4.2 |
17.0% | -67.7% | 0.59 | 0.25 | 4.4x | 39 | 58% |
| ADX / DI 방향성 period=35, threshold=6 |
16.9% | -59.3% | 0.59 | 0.28 | 4.4x | 115 | 57% |
| Keltner 채널 돌파 emaPeriod=58, atrPeriod=10, mult=0.8 |
12.4% | -67.3% | 0.51 | 0.18 | 3.0x | 87 | 52% |
| Parabolic SAR step=0.045, maxStep=0.34 |
2.6% | -77.9% | 0.26 | 0.03 | 1.3x | 335 | 53% |
| MACD fast=6, slow=50, signal=8 |
2.3% | -79.8% | 0.25 | 0.03 | 1.2x | 225 | 53% |
| Buy and hold | 25.9% | -84.6% | 0.69 | 0.31 | 8.8x | 1 | 100% |
Rules of the top strategy
Uses two exponential averages (more weight on recent prices) and trades their crossover.
- Buy — Buy when the 77-day EMA crosses above the 196-day EMA
- Sell — Sell when the 77-day EMA falls below the 196-day EMA