Trend-Following Backtester · Guide · backtest 한국어
equity · US
Viavi Solutions Inc. backtest
10 trend-following strategies were compared on the full daily history of Viavi Solutions Inc.. 8 beat buy-and-hold CAGR; EMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ROC 모멘텀 (CAGR 19.3%, MDD -64.3%).
Results by strategy
8 of 10 beat buy and hold (CAGR 11.5%, drawdown -99.8%).
Sharpe leader (same as main): EMA 크로스오버 — CAGR 23.7%, MDD -68.3%, Sharpe 0.72, 56% exposure.
Return/drawdown alternative: ROC 모멘텀 — CAGR is 12.2%p higher than buy and hold, while drawdown improves by 31.5%p (CAGR 19.3%, MDD -64.3%, exposure 40%).
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=24, slow=118 |
23.7% | -68.3% | 0.72 | 0.35 | 1086.6x | 64 | 56% |
| 볼린저 밴드 돌파 n=56, k=2.5 |
17.2% | -66.7% | 0.71 | 0.26 | 184.1x | 68 | 24% |
| SMA 크로스오버 fast=27, slow=217 |
22.9% | -75.5% | 0.70 | 0.30 | 869.4x | 47 | 56% |
| Donchian 채널 돌파 entryN=106, exitN=87 |
22.3% | -69.5% | 0.70 | 0.32 | 745.6x | 33 | 53% |
| ROC 모멘텀 n=125, threshold=0.14 |
19.3% | -64.3% | 0.65 | 0.30 | 330.6x | 235 | 40% |
| Supertrend period=16, mult=4.8 |
19.5% | -73.3% | 0.65 | 0.27 | 346.6x | 96 | 53% |
| Keltner 채널 돌파 emaPeriod=55, atrPeriod=28, mult=3.1 |
13.3% | -66.1% | 0.56 | 0.20 | 60.0x | 100 | 29% |
| ADX / DI 방향성 period=39, threshold=15 |
13.6% | -77.1% | 0.56 | 0.18 | 66.2x | 118 | 28% |
| Parabolic SAR step=0.01, maxStep=0.08 |
9.2% | -86.0% | 0.42 | 0.11 | 17.8x | 391 | 53% |
| MACD fast=26, slow=58, signal=36 |
4.3% | -96.4% | 0.31 | 0.04 | 4.0x | 227 | 54% |
| Buy and hold | 11.5% | -99.8% | 0.48 | 0.11 | 35.6x | 1 | 100% |
Rules of the top strategy
Uses two exponential averages (more weight on recent prices) and trades their crossover.
- Buy — Buy when the 24-day EMA crosses above the 118-day EMA
- Sell — Sell when the 24-day EMA falls below the 118-day EMA