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 볼린저 밴드 돌파 (CAGR 14.7%, MDD -60.4%).

Data 1993-11-17 ~ 2026-07-31daily bars 8,230 (32.7 years)Costs 0.5%Venue XNASMonthly snapshot 2026-07-31

Results by strategy

8 of 10 beat buy and hold (CAGR 11.1%, drawdown -99.8%).

Sharpe leader (same as main): EMA 크로스오버 — CAGR 22.9%, MDD -69.4%, Sharpe 0.71, 56% exposure.

Return/drawdown alternative: 볼린저 밴드 돌파 — CAGR is 11.8%p higher than buy and hold, while drawdown improves by 30.4%p (CAGR 14.7%, MDD -60.4%, exposure 17%).

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 · parametersCAGRMDDSharpeCalmarTotalTradesExposure
EMA 크로스오버
fast=19, slow=131
22.9%-69.4%0.710.33848.7x7356%
SMA 크로스오버
fast=51, slow=90
21.9%-84.7%0.680.26646.6x9158%
볼린저 밴드 돌파
n=57, k=2.9
14.7%-60.4%0.680.2489.7x4217%
ROC 모멘텀
n=131, threshold=0.03
19.0%-65.4%0.630.29292.0x23751%
Donchian 채널 돌파
entryN=118, exitN=68
18.2%-71.6%0.630.25238.9x4048%
Supertrend
period=22, mult=5
18.5%-74.1%0.630.25257.0x9254%
ADX / DI 방향성
period=38, threshold=15
12.8%-76.5%0.540.1751.7x13229%
Keltner 채널 돌파
emaPeriod=52, atrPeriod=8, mult=2.9
12.3%-75.8%0.530.1644.6x11430%
Parabolic SAR
step=0.005, maxStep=0.24
7.4%-90.9%0.380.0810.2x26653%
MACD
fast=19, slow=48, signal=30
3.4%-98.1%0.290.033.0x28054%
Buy and hold11.1%-99.8%0.470.1131.3x1100%
1x 10x 100x 1,000x 1994 1999 2004 2009 2014 2019 2024 EMA 크로스오버Buy and hold
EMA 크로스오버: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -25% -50% -75% -100% 1994 1999 2004 2009 2014 2019 2024 Buy and holdEMA 크로스오버
EMA 크로스오버 maximum drawdown -69.4% (2011-02-11 → 2016-05-19), recovered after 5,466 days.

Rules of the top strategy

Uses two exponential averages (more weight on recent prices) and trades their crossover.

Method and caveats

Past performance does not guarantee future returns. Parameters were carried forward from the latest full optimization and replayed on this monthly dataset. 0.5% trading costs are included; taxes, slippage and rejected orders are not.
Re-optimize the same period and setupAll asset reports

Read next