LearnStrategies20-Day Momentum + Trailing Stop › QQQ

20-Day Momentum + Trailing Stop on QQQ

Invesco QQQ Trust — tracks the Nasdaq-100 — the classic tech-heavy growth index. 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 QQQ turned $10,000 into $15,865 (58.6% total, 8.7% CAGR) — it trailed buy-and-hold by 7.1% per year, with a maximum drawdown 7.7 points shallower than holding (26.5% vs 34.3%).
8.7%CAGR
15.8%buy & hold CAGR
−26.5%max drawdown
0.67Sharpe ratio
7round trips
57%win rate
momentum breakout   buy & hold — $10,000 invested 2021-01-04

Year by year

Yearmomentum breakoutbuy & hold
202120.0%28.4%
2022−24.5%−31.7%
202325.0%53.1%
202410.1%26.1%
202528.3%20.4%
2026−0.8%12.3%

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 QQQ 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 QQQ?

Over 2021-01-04–2026-07-17, momentum breakout on QQQ returned 8.7% annualized vs 15.8% for buy-and-hold — it trailed buy-and-hold by 7.1% per year, with a maximum drawdown 7.7 points shallower than holding (26.5% vs 34.3%).

How many trades did it make?

7 completed round trips over 5.5 years (15 fills), with 57% 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 QQQ12 templates compared RSI(14) Mean Reversion on QQQsame ETF, different rulesRSI(2) Dip Snapback on QQQsame 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.