20-Day Momentum + Trailing Stop on QQQM
Invesco NASDAQ 100 ETF: a lower-cost share class of the Nasdaq-100 trade, built for holding. Backtest 2021-01-04 to 2026-10-02, $10,000 starting capital, computed by the same engine that runs live DeployQuant strategies.
The momentum breakout buys QQQM after a +10% gain over 20 sessions and holds until a 10% trailing stop is hit. The stop follows the highest close and never moves down, and there is no profit target. On QQQM, a Nasdaq-100 fund, the rule turned $10,000 into $15,491 between 2021-01-04 and 2026-10-02. That is a CAGR of 7.92% with a maximum drawdown of 26.98% and a Sharpe ratio of 0.62.
Buy-and-hold on the same fund ended at $24,315, a CAGR of 16.74% with a drawdown of 34.4%. The rule trailed the fund by a wide margin in total return and held a drawdown that was shallower. It beat the fund in 2022 and 2025 and lost in the other four calendar years.
The rule made 8 round trips, of which 5 were winners. The average winner returned 14.35% and the average loser lost 6.88%, so the profit factor was 3.61. The position was held on 63% of days. The four largest winners ran for 252 to 325 days and the losers were all cut within 38 days, which is the trailing stop doing what it is built to do.
Among the 12 templates on QQQM, the momentum breakout ranks 9th by CAGR. QQQM ranks 13th of 59 funds for this rule, and the rule's median CAGR across all 59 funds is 0%. The result on QQQM is better than the typical result for the rule, and it is still well below what the fund returned by itself. The test is one window, uses daily-decision rules and has no fees in the headline run.
Year by year
| Year | momentum breakout | buy & hold |
|---|---|---|
| 2021 | 20.3% | 28.5% |
| 2022 | −24.9% | −31.8% |
| 2023 | 25.7% | 53.4% |
| 2024 | 10.3% | 25.3% |
| 2025 | 27.8% | 20.5% |
| 2026 | −3.2% | 22.2% |
How each year went
The rule's yearly returns were 20.3% in 2021, -24.9% in 2022, 25.7% in 2023, 10.3% in 2024, 27.8% in 2025 and -3.2% in 2026 to date. Buy-and-hold on QQQM returned 28.5%, -31.8%, 53.4%, 25.3%, 20.5% and 22.2%.
2021 started in cash. The first entry came on 2021-04-07 at an adjusted price of $131.10, after the 20-day return crossed +10%, so January to March show 0.0%. From April the position collected 2.3%, -1.2%, 6.2%, 2.7%, 4.1%, -5.6%, 7.7%, 1.9% and 1.1%. The year closed at 20.3% against 28.5% for the fund, a gap of 8.2 points in the fund's favour.
2022 was the year the rule earned its place against the fund. QQQM lost 31.8% and the rule lost 24.9%. The first trade closed on 2022-01-19 at $146.42 for a gain of 11.69%, so the rule stepped out almost at the peak: the fund's own high came on 2021-12-27. January still shows -7.5%, because the trailing stop gave back part of the gains before it triggered. Then the rule was in cash for February and March.
The stop saved it from the worst of the first half but not from whipsaws. It bought again on 2022-04-05 at $146.89 and exited on 2022-04-22 at $132.45, a loss of 9.83% in 17 days, which is the worst trade in the test. It tried again on 2022-08-01 at $125.63 and lost 4.22% by 2022-08-30. A third attempt on 2022-11-14 at $114.70 lost 6.59% by 2022-12-22. Three losses in one year, each small compared with the fund's yearly fall.
2023 returned 25.7%, against 53.4% for the fund. The entry on 2023-01-27 at $117.57 caught the rebound and held for 272 days to an exit at $140.83. That gain of 19.79% is the best trade in the test. The rule then re-entered on 2023-11-24 at $157.28. Its monthly numbers in 2023 were large in March (9.3%), May (7.7%) and June (6.3%).
2024 returned 10.3% against 25.3%. The second 2023 trade ran until 2024-08-02, when the stop hit at $183.32, a gain of 16.56% over 252 days. The rule then stayed out through the end of the year, and the last four months of 2024 all show 0.0%.
2025 returned 27.8% and beat the fund's 20.5%. The rule was in cash until 2025-05-06, and bought at $195.88 after the April 2025 low. It ran for 325 days to 2026-03-27, exiting at $234.48 with a gain of 19.71%. Missing the first four months of the year, which included the fall, helped it more than the late entry hurt. 2026 is partial, and the rule's -3.2% comes from the March loss and a trade entered 2026-04-21.
Month by month
| Year | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2021 | 0.0% | 0.0% | 0.0% | 2.3% | −1.2% | 6.2% | 2.7% | 4.1% | −5.6% | 7.7% | 1.9% | 1.1% |
| 2022 | −7.5% | 0.0% | 0.0% | −9.6% | 0.0% | 0.0% | 0.0% | −4.1% | 0.0% | 0.0% | 2.5% | −8.7% |
| 2023 | 0.8% | −0.4% | 9.3% | 0.5% | 7.7% | 6.3% | 3.8% | −1.5% | −4.9% | −2.7% | −0.1% | 5.5% |
| 2024 | 1.8% | 5.2% | 1.3% | −4.3% | 6.3% | 6.1% | −1.6% | −4.2% | 0.0% | 0.0% | 0.0% | 0.0% |
| 2025 | 0.0% | 0.0% | 0.0% | 0.0% | 8.1% | 6.2% | 2.4% | 0.9% | 5.3% | 4.7% | −1.6% | −0.7% |
| 2026 | 1.2% | −2.3% | −5.8% | 3.0% | 10.2% | −0.2% | −8.3% | 0.0% | 0.0% | 0.0% | – | – |
Monthly pattern
The best month was May 2026 at 10.21%, followed by 2023's March at 9.3% and May 2025 at 8.1%. The worst was April 2022 at -9.6%, which is the 17-day trade, and then December 2022 at -8.7% and July 2026 at -8.3%. Buy-and-hold's worst month was also April 2022, at -13.16%, so the rule's loss that month was smaller than the fund's.
The monthly series shows how the rule is in or out of the market. Zero months appear as runs: January to March 2021, February to March 2022, May to July 2022, September to October 2022, September to December 2024 and January to April 2025. In 2026 the zeros cover August and September, after the 2026-07-28 exit.
July 2026 shows -8.3%. That is the final trade, entered on 2026-04-21 at $266.10 and exited on 2026-07-28 at $276.78 for a gain of 4.01%. The trade finished positive after May's 10.21% gain, and July still lost money, which means the stop gave back part of the earlier gain before it hit. A trailing stop keeps open profit at risk: the exit price was above the entry, and the month was still a large loss.
March 2026 shows -5.8% while the position entered in 2025 was still open, and it exited on 2026-03-27. The -2.3% in February and the -5.8% in March are the slide that triggered the stop.
The months with the largest gains all fell inside long winning trades: 2023, mid 2025 and May 2026. The rule makes money in sustained rises and loses when the moves are brief and choppy.
Every trade
momentum breakout on QQQM made 8 closed round trips, an average hold of 165 days, an average winner of 14.35%, an average loser of −6.88%, a profit factor of 3.61, a longest losing streak of 3. It held a position at the close on 63.0% of trading days.
| Entry | Entry price | Exit | Exit price | Return | Days held |
|---|---|---|---|---|---|
| 2021-04-07 | $131.10 | 2022-01-19 | $146.42 | 11.7% | 287 |
| 2022-04-05 | $146.89 | 2022-04-22 | $132.45 | −9.8% | 17 |
| 2022-08-01 | $125.63 | 2022-08-30 | $120.33 | −4.2% | 29 |
| 2022-11-14 | $114.70 | 2022-12-22 | $107.14 | −6.6% | 38 |
| 2023-01-27 | $117.57 | 2023-10-26 | $140.83 | 19.8% | 272 |
| 2023-11-24 | $157.28 | 2024-08-02 | $183.32 | 16.6% | 252 |
| 2025-05-06 | $195.88 | 2026-03-27 | $234.48 | 19.7% | 325 |
| 2026-04-21 | $266.10 | 2026-07-28 | $276.78 | 4.0% | 98 |
Prices are adjusted for splits and dividends, so they sit below the quotes printed at the time. An open position is marked at the last close.
The eight trades
Eight closed round trips, none open at the end. The median trade returned 11.69% and the median hold was 252 days. The longest hold was 325 days and the shortest was 17. The average hold was 164.8 days.
The trades split into two groups. The four winners from 2021 to 2025 held for between 252 and 325 days: the 2021-04-07 entry returned 11.69% in 287 days, the 2023-01-27 entry returned 19.79% in 272 days, the 2023-11-24 entry returned 16.56% in 252 days and the 2025-05-06 entry returned 19.71% in 325 days. The fifth winner, from 2026-04-21, returned 4.01% in 98 days.
The three losers all came in 2022: -9.83% in 17 days, -4.22% in 29 days and -6.59% in 38 days. Per exit year, 2022 had 4 round trips with 1 win, 2023 had 1 with 1 win, 2024 had 1 with 1 win and 2026 had 2 with 2 wins. No trade exited in 2021 or 2025.
The best trade was entered at $117.57 in January 2023, close to the low of the 2022 bear market. The rule's signal needs a +10% rise in 20 sessions, which happens in the first weeks of a rebound. The rule bought into strength after the low and held for most of 2023.
The win rate is 63% from 5 winners and 8 trades. The longest winning streak was 4 and the longest losing streak was 3. A single trade moves the average noticeably with this few trades, and removing the best trade would change the result a lot. The data here cannot say how stable the profit factor of 3.61 is.
Largest drawdowns
| Peak | Low point | Depth | Days to low | Recovered | Days to recover |
|---|---|---|---|---|---|
| 2021-12-27 | 2023-03-10 | −27.0% | 438 | 2024-03-01 | 357 |
| 2025-10-29 | 2026-04-21 | −10.2% | 174 | 2026-05-26 | 35 |
| 2024-07-10 | 2024-08-02 | −10.2% | 23 | 2025-06-24 | 326 |
Buy-and-hold's deepest drawdown ran from 2021-12-27 to 2022-11-03 and reached −34.4%.
Drawdowns and the trailing stop
The deepest drawdown was 26.98%, from 2021-12-27 to 2023-03-10, which took 438 days to the low and 357 more to recover on 2024-03-01. Buy-and-hold's worst fall was 34.4% from 2021-12-27 to 2022-11-03, recovering on 2023-12-12. The rule's drawdown was 7.42 points shallower than the fund's.
The rule's drawdown lasts longer in time than the fund's trough date suggests, since its low came on 2023-03-10, four months after the fund's low. That comes from the whipsaws. The rule bought on 2022-11-14 near the fund's low, took a loss by 2022-12-22 and then re-entered at $117.57 on 2023-01-27. The equity low is the result of three small losses compounding on top of the January 2022 give-back.
The second drawdown was 10.22%, from 2025-10-29 to 2026-04-21, recovered on 2026-05-26. The third was 10.17% from 2024-07-10 to 2024-08-02, which took 326 days to recover, the longest recovery of the three. The August 2024 drawdown is the fall that triggered the 2024-08-02 exit. That exit closed the trade entered at $157.28, and the sleeve then sat in cash until 2025-05-06, so the recovery on 2025-06-24 came from the next position.
The trailing stop is the main risk control and the main source of slippage in the P&L. A 10% trail exits about 10% below the high-water mark, so each winner gives back part of its peak gain. The rule's 14.35% average winner is the net of that give-back.
Compared with the fund, the rule's drawdown was shallower and its Sharpe ratio was lower, 0.62 against 0.83. The shallower drawdown cost a large part of the return.
With trading costs
The headline run fills at the bar price. These runs charge slippage on every fill.
| Slippage per fill | CAGR | Max drawdown | Final value | Sharpe |
|---|---|---|---|---|
| None (headline) | 7.9% | −27.0% | $15,491 | 0.62 |
| 5 basis points | 7.8% | −27.3% | $15,353 | 0.60 |
| 10 basis points | 7.6% | −27.6% | $15,235 | 0.59 |
Effect of trading costs
The headline run has no slippage. With 5 basis points per fill the CAGR was 7.75%, the maximum drawdown 27.29% and the final value $15,353. With 10 basis points the CAGR was 7.61%, the drawdown 27.56% and the final value $15,235. The Sharpe ratio moved from 0.62 to 0.605 and then 0.595.
The rule makes 16 fills in 5.74 years, which is under three a year. Slippage therefore costs little. The CAGR falls at each step and the drawdown grows slightly, because the cost applies to the exits as well as the entries.
The result holds up against these costs in this test. The costs here are a flat charge per fill, and QQQM's median minute volume of 2,083 shares is low for a fund of its size, so a real order at size would see different fills. The cost runs say nothing about spread widening in fast markets.
Changing the parameters
| Version | CAGR | Max drawdown | Round trips | Win rate | Final value |
|---|---|---|---|---|---|
| Published rules | 7.9% | −27.0% | 8 | 63% | $15,491 |
| 5% trailing stop | 8.1% | −15.6% | 11 | 55% | $15,651 |
| 15% trailing stop | 11.7% | −38.9% | 4 | 50% | $18,916 |
| 20% return entry | 1.7% | −9.8% | 1 | 100% | $11,012 |
Changing the trailing stop and the entry
Three variants change one parameter each. The published rule uses a 10% trail and a 20-day return of +10%.
A 5% trail gave a CAGR of 8.11%, a drawdown of 15.56%, a Sharpe ratio of 0.893 and 11 trades with 6 wins. The tighter stop cut the drawdown from 26.98% to 15.56% and left the return close to the published rule's. It had more trades, because a tight stop gets hit by ordinary pullbacks and the entry signal then fires again.
A 15% trail gave a CAGR of 11.74%, a final value of $18,916 and a drawdown of 38.92%, with 4 trades and 2 wins. The wider stop held on through the 2022 chop, so it made far fewer trades, and its drawdown was deeper than buy-and-hold's. It is the highest return of the three variants and the deepest fall. A wide trail gives up less on each exit and risks more on every position.
A 20% entry threshold gave a CAGR of 1.69%, a drawdown of 9.79% and a single trade that won. The threshold is so high that the rule rarely finds an entry on a broad index fund. It was in the market for very little of the window.
The comparison is between two kinds of error. A tight stop gets stopped out of trends too early, and a loose one gives back more. On this fund over this window, the 5% trail had the best Sharpe ratio and the 15% trail had the best final value. Those results are from one path through the data, and picking the best variant after the fact would fit this window. The published 10% setting sits between them on drawdown and return, and no number here says it is the better choice.
How QQQM behaved
| Measure | QQQM |
|---|---|
| Data in this test | 2021-01-04 to 2026-10-02 (1444 sessions) |
| Total return, buy and hold | 151.5% |
| Annualized volatility | 22.3% |
| Deepest drawdown | −35.1% (2021-12-27 to 2022-11-03) |
| Up days | 54.9% |
| Average daily range | 1.55% |
| Average overnight gap | 0.60% |
| Correlation to SPY | 0.94 |
| Correlation to QQQ | 1.00 |
| Correlation to TLT | 0.09 |
| Sessions above the 200-day average | 75.2% |
| Crossings of the 200-day average | 20 |
| Falls of 10% or more from a 20-day high | 21 |
How QQQM behaved
QQQM is the Invesco NASDAQ 100 ETF, a lower-cost share class of the Nasdaq-100 trade built for holding. It returned 151.54% over the window, a CAGR of 17.43%, with annualized volatility of 22.34% and a maximum drawdown of 35.06%, from 2021-12-27 to 2022-11-03, recovered on 2023-12-12. Its longest drawdown lasted 492 sessions. Its correlation to QQQ is 1, so it is the same trade in a different wrapper.
The fund closed up on 54.89% of days, with an average up day of 1.01% and an average down day of -1.06%. The average daily range was 1.55% and the average overnight gap was 0.6%. Overnight moves made up 78.83% of its log return and the intraday part 21.17%. A rule that enters at the open, as this one does, buys after most of the day's gap has happened.
It was above its 200-day average on 75.18% of sessions and crossed it 20 times. It had 21 falls of 10% or more from a 20-day high, over 81 days.
The rule's entry needs a +10% rise in 20 sessions. A broad index fund with 22.34% volatility does this only after big falls or in strong runs, which is why the rule made just 8 trades. The best days were 2025-04-09 at 11.73%, 2022-11-10 at 7.37% and 2022-11-30 at 4.59%. The worst were 2025-04-04 at -6.08%, 2022-09-13 at -5.51% and 2025-04-03 at -5.32%. The rule held no position on either side of the April 2025 sell-off, so it took neither the fall nor the 11.73% rebound day.
After the 14-day RSI fell below 30, on 16 sessions, the median 5-day return was 3.21% and the 20-day return was 1.54%, against baselines of 0.56% and 1.73%. The 20-day figure is below the baseline, which suggests that oversold readings on this fund bounced early and faded. A breakout rule does not trade this signal, and the numbers describe the fund.
Among the broad index funds, the rule returned 9.34% on VV, 9.19% on VOO and 9.09% on SPY, each with 3 round trips and drawdowns near 13%. On QQQ it returned 7.84% with 8 round trips, which is nearly identical to QQQM. The category median CAGR for the rule was 7.35%, and IOO returned 7.35%.
The rules
Buy after a +10% four-week burst and let a 10% trailing stop manage the exit.
- WHEN the market opens · IF not invested AND the 20-day return > +10% · THEN buy with 98% of the sleeve
- WHILE invested · a managed trailing stop follows 10% below the position's high-water mark
Momentum entry, trailing-stop exit. A +10% gain over 20 sessions marks a burst of momentum. The template buys the strength and exits on a 10% trailing stop that ratchets up beneath the highest close and never moves down. There is no profit target, so winners run until the trail is hit.
Good for: high-momentum assets where trends extend, such as semiconductor and leveraged tech ETFs.
Watch out: buying strength means buying high; when a burst immediately reverses, the trail exits about 10% below the entry.
How the rules fit this fund
The strategy description says the rule suits high-momentum assets where trends extend, such as semiconductor and leveraged tech funds. QQQM is a broad index fund with moderate volatility, and it gives the rule fewer clean breakouts.
The rule did best on QQQM in the long uptrends: 2023, the second half of 2025 and the spring of 2026. It did worst in 2022, when sharp rebounds of +10% in 20 sessions kept failing. Each failed rebound was a bear-market rally, and the stop took the entry price down by about a tenth. The three 2022 losers show this, with exits at 10% or less below the entries.
Against the other templates on QQQM, it sits mid-table. The weekly 7% target returned 16.64% and the RSI(2) snapback 15.56%. The monthly cycle returned 14.95%, the golden cross 13.82% and the 200-day regime filter 13.02%. The trend plus trailing stop rule returned 11.38%, the SMA 10/50 trend 9.05% and the 3-month momentum rule 8%. The momentum breakout's 7.92% came ahead of the EMA 12/26 trend at 7.82%, RSI mean reversion at 6.46% and the dip buyer at 5.35%.
The other trailing-stop rule, trend plus trailing stop, enters on the 200-day average and earned more here. The difference is the entry. That rule is invested whenever price sits above its 200-day average, and the breakout rule needs a fresh +10% burst, so it spends longer in cash.
The full grid for the rule is on the momentum breakout hub, and every template on this fund is on the QQQM page.
The test has limits. It covers one window of 5.74 years, eight trades, daily-decision rules and no fees in the headline run. The first four months of the window and the choice of start date affect the result, and a different start would change which entries happen.
Build it from blocks (or type it in English), backtest it on 5.7 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 QQQM?
Over 2021-01-04 to 2026-10-02, momentum breakout on QQQM returned 7.9% annualized vs 16.7% for buy-and-hold: it trailed buy-and-hold by 8.8% per year, with a maximum drawdown 7.4 points shallower than holding (27.0% vs 34.4%).
How many trades did it make?
8 completed round trips over 5.7 years (16 fills), with 63% of round trips closing profitably.
How does the trailing stop work in the backtest?
The stop sits 10% below the highest price since entry and only ratchets up. When a bar trades through it, the position sells at the stop, or at the open if the price gaps below it. Trailing-stop exits can be backtested now; deploying them live is not available yet.
How did the momentum breakout do on QQQM?
It turned $10,000 into $15,491, a CAGR of 7.92% with a maximum drawdown of 26.98%. Buy-and-hold on QQQM ended at $24,315 with a CAGR of 16.74% and a drawdown of 34.4%.
How many trades did it make?
Eight round trips and 16 fills in 5.74 years. Five trades won and three lost. The average winner returned 14.35%, the average loser -6.88%, and the profit factor was 3.61.
When did the rule beat buy-and-hold?
In 2022 and 2025. In 2022 the rule lost 24.9% against 31.8% for the fund, and in 2025 it returned 27.8% against 20.5%. In the other four years it trailed.
What was the worst trade?
The entry on 2022-04-05 at $146.89 exited on 2022-04-22 at $132.45 for a loss of 9.83% in 17 days. It was one of three losing trades in 2022.
What does the trailing stop change if it is tighter or wider?
A 5% trail gave a CAGR of 8.11% with a drawdown of 15.56% and 11 trades. A 15% trail gave 11.74% with a drawdown of 38.92% and 4 trades. These are one-window results on one fund.
How much did slippage cost?
At 5 basis points per fill the CAGR was 7.75% and at 10 basis points it was 7.61%. The rule makes 16 fills, so costs have a small effect.
Is QQQM different from QQQ for this rule?
The two funds have a correlation of 1, and the rule's results are close: 7.92% on QQQM and 7.84% on [QQQ](/learn/strategies/momentum-breakout-trail/qqq/), each with 8 round trips.
Related
Backtests are hypothetical, computed by DeployQuant's engine on minute-resolution consolidated US market data (2021-01-04 to 2026-10-02, $10,000 starting capital, no margin, no fees or slippage in the headline run; buy-and-hold puts 98% of the account in at the first open, as the templates do) and do not guarantee future results. Nothing on this page is investment advice. Live trading involves risk of loss.