LearnStrategies20-Day Momentum + Trailing Stop › SOXX

20-Day Momentum + Trailing Stop on SOXX

iShares Semiconductor ETF — the semiconductor industry, one of the market's highest-momentum sectors. Backtest 2021-01-04 → 2026-07-17, $10,000 starting capital, computed by the same engine that runs live DeployQuant strategies.

Result: momentum breakout on SOXX turned $10,000 into $21,828 (118.3% total, 15.2% CAGR) — it trailed buy-and-hold by 14.4% per year, with a maximum drawdown 14.9 points shallower than holding (30.2% vs 45.1%).
15.2%CAGR
29.6%buy & hold CAGR
−30.2%max drawdown
0.72Sharpe ratio
18round trips
61%win rate
momentum breakout   buy & hold — $10,000 invested 2021-01-04

Year by year

Yearmomentum breakoutbuy & hold
202114.0%43.6%
2022−14.2%−34.5%
202316.5%65.3%
2024−1.2%12.8%
202535.9%41.9%
202642.5%70.4%

The rules

Buy after a +10% four-week burst and let a 10% trailing stop manage the exit.

  1. WHEN the market opens · IF not invested AND the 20-day return > +10% · THEN buy with 98% of the sleeve
  2. WHILE invested · a managed trailing stop follows 10% below the position's high-water mark

Momentum entry, mechanical exit. A +10% gain over 20 sessions signals an asset in a genuine burst; the template buys the strength and hands the exit to a 10% trailing stop that ratchets up beneath the highest close and never moves down. There's no profit target — winners run until the trail catches them.

Good for: high-momentum assets where trends extend — semiconductor and leveraged tech ETFs show the archetype.
Watch out: buying strength means buying high; when a burst immediately reverses, the trail exits about 10% below the entry.

Run momentum breakout on SOXX yourself — free →

Build it from blocks (or type it in English), backtest it on 5.5 years of minute data in seconds, tweak any parameter, then paper trade it on live data. No card, no broker needed to start.

Frequently asked questions

Did momentum breakout beat buy-and-hold on SOXX?

Over 2021-01-04–2026-07-17, momentum breakout on SOXX returned 15.2% annualized vs 29.6% for buy-and-hold — it trailed buy-and-hold by 14.4% per year, with a maximum drawdown 14.9 points shallower than holding (30.2% vs 45.1%).

How many trades did it make?

18 completed round trips over 5.5 years (36 fills), with 61% of round trips closing profitably.

How does the trailing stop work when deployed live?

DeployQuant maintains it as a managed order: it ratchets up as the position makes new highs and triggers a market exit when price falls through it. It never widens.

Related

20-Day Momentum + Trailing Stop — all 59 ETFsfull results table All strategies on SOXX12 templates compared RSI(14) Mean Reversion on SOXXsame ETF, different rulesRSI(2) Dip Snapback on SOXXsame ETF, different rules

Backtests are hypothetical, computed by DeployQuant's engine on minute-resolution consolidated US market data (2021-01-04 to 2026-07-17, $10,000 starting capital, no margin, fees and slippage not modeled) and do not guarantee future results. Nothing on this page is investment advice. Live trading involves risk of loss.