Learn › Strategies › 200-Day SMA Regime Filter › QQQM

200-Day SMA Regime Filter 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.

Result: 200-day regime filter on QQQM turned $10,000 into $20,190 (101.9% total, 13.0% CAGR): it trailed buy-and-hold by 3.7% per year, with a maximum drawdown 14.6 points shallower than holding (19.8% vs 34.4%).

The 200-day regime filter on QQQM won 2 of its 10 round trips and still made 13.02% a year. It turned $10,000 into $20,190 between 2021-01-04 and 2026-10-02 with a maximum drawdown of 19.82%. Buy-and-hold in the same fund ended at $24,315, a CAGR of 16.74% with a drawdown of 34.4%. The rule gave up 3.72 points of CAGR a year and took a drawdown 14.58 points shallower. The rule buys at the open when yesterday's close is above the 200-day average and sells when yesterday's close is below. QQQM is the Invesco Nasdaq 100 ETF, a lower-cost share class of the Nasdaq-100 trade. The rule made 21 fills over 10 completed round trips and an 11th trade still open at the end. Its win rate was 20%, the average win was 42.29% and the average loss was 2.08%, which gave a profit factor of 4.91. It was invested 64.8% of the time, with an average hold of 118.2 days. Those numbers describe a trend rule in a plain form. Most trades are short whipsaws that lose a little. Two long trades make the result. The best ran 724 days from 2023-03-14 to 2025-03-07 and returned 68.01%. The second ran 314 days from 2025-05-13 to 2026-03-23 and returned 16.58%. The eleventh, bought on 2026-04-09 at 248.89, was up 24% at the end of the data. The rule ranks 5th of 12 on this fund and 8th of 59 funds for the rule. The median CAGR of the 200-day filter is 1.84% across all 59 funds and 8.3% across the 12 broad index funds, so QQQM is well above both. The cost runs are small: 12.92% at 5 basis points and 12.65% at 10. The comparison with the fund depends on one year. In 2022 the rule lost 16.2% against 31.8%. In the other five years it trailed or tied. The window has one bear market, and the rule's value on this page is almost entirely what it did in that bear market.

13.0%CAGR
16.7%buy & hold CAGR
−19.8%max drawdown
0.93Sharpe ratio
10round trips
20%win rate
■ 200-day regime filter   ■ buy & hold, $10,000 invested 2021-01-04

Year by year

Year200-day regime filterbuy & hold
20216.4%28.5%
2022−16.2%−31.8%
202334.8%53.4%
202425.2%25.3%
202513.0%20.5%
202618.7%22.2%

Year by year

The rule returned 6.4% in 2021, -16.2% in 2022, 34.8% in 2023, 25.2% in 2024, 13% in 2025 and 18.7% in the partial 2026. Buy-and-hold returned 28.5%, -31.8%, 53.4%, 25.3%, 20.5% and 22.2%. The gaps were -22.1 points in 2021, 15.6 in 2022, -18.6 in 2023, -0.1 in 2024, -7.5 in 2025 and -3.5 in 2026. The rule led in 2022 and trailed in every other year, with a near tie in 2024. 2021 is mostly cash. The rule has no trades before 2021-10-19, and the first nine months of the window show 0%. The first trade bought at 148.77 on 2021-10-19 and sold on 2022-01-21 at 143.26 for a loss of 3.7%. The year's 6.4% comes from the last quarter only, against 28.5% for the fund over twelve months. 2022 is where the rule paid off, though not cleanly. It made 5 round trips by exit year and none won. Four of them lasted 1 or 2 days. The fund was oscillating around its 200-day average through the first four months of the year and the rule bought and sold at small losses: -3.89%, -0.18%, -0.74% and -3.15%. From May to December 2022, the account was in cash for every month, while the fund fell the rest of the way to its 2022-11-03 low. That stretch is why 2022 came out at -16.2% against -31.8%. 2023 is the largest shortfall after 2021. The fund returned 53.4% and the rule 34.8%. The fund's low was 2022-11-03 and the rule did not buy again until 2023-01-27, then lost on two trades, in January and February, before the 2023-03-14 entry at 118.52. It missed the first stretch of the rebound and caught the rest. 2025 shows the rule working in the other direction. It sold on 2025-03-07 at 199.12, before the fund's low on 2025-04-08, and bought again on 2025-03-26 and sold on 2025-03-27 for a 1.99% loss. It bought back on 2025-05-13 at 207.86, above the exit price. The year came to 13% against 20.5%. The fall was avoided and so was part of the rebound.

Month by month

YearJanFebMarAprMayJunJulAugSepOctNovDec
20210.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%3.2%1.9%1.1%
2022−9.4%−4.0%−0.7%−3.1%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%
2023−0.5%−0.3%6.5%0.5%7.6%6.3%3.8%−1.5%−4.9%−2.1%10.6%5.5%
20241.8%5.2%1.3%−4.3%6.3%6.1%−1.6%1.1%2.6%−0.8%5.2%0.5%
20252.1%−2.6%−5.8%0.0%2.0%6.2%2.4%0.9%5.3%4.7%−1.6%−0.7%
20261.2%−2.3%−2.7%9.9%10.3%−0.2%−6.4%4.1%3.2%1.3%––

Months

The best month was 2023-11 at 10.56%, followed by 2026-05 at 10.33%, 2026-04 at 9.92% and 2023-05 at 7.62%. The worst was 2022-01 at -9.36%, followed by 2026-07 at -6.4%, 2025-03 at -5.77% and 2023-09 at -4.9%. The fund's best month was 15.44% in 2026-04 and its worst -13.16% in 2022-04. The months at 0% fall in three blocks. The first is 2021-01 to 2021-09, before the first signal. The second is 2022-05 to 2022-12, a run of eight months in which the fund lost most of its 2022 decline, and the account held cash. The third is 2025-04, the single month the rule was out during the early 2025 drop. The worst month for the rule, January 2022, belongs to the first trade from 2021-10-19 to 2022-01-21. It lost 9.36% in a month and the trade lost 3.7% overall, since the earlier months of the trade had gains of 3.24%, 1.93% and 1.08%. The rule gave that back at the exit. 2026-07 at -6.4% is a month in the open position, which was held since 2026-04-09. A rule that holds for long stretches has months like this, and the result of the whole trade, up 24% at the end of the data, is what the rule cares about. The fund's month-of-year averages, based on 5 or 6 observations each, were 5.2% for May, 4.43% for November and 2.76% for October, with -1.67% for September and -0.7% for February.

Every trade

200-day regime filter on QQQM made 10 closed round trips and one position still open at the end of the test, an average hold of 118 days, an average winner of 42.29%, an average loser of −2.08%, a profit factor of 4.91, a longest losing streak of 7. It held a position at the close on 64.8% of trading days.

EntryEntry priceExitExit priceReturnDays held
2021-10-19$148.772022-01-21$143.26−3.7%94
2022-02-02$147.172022-02-04$141.45−3.9%2
2022-02-10$143.442022-02-11$143.18−0.2%1
2022-03-30$147.672022-03-31$146.57−0.7%1
2022-04-05$146.892022-04-06$142.27−3.1%1
2023-01-27$117.572023-01-31$116.92−0.6%4
2023-02-01$118.342023-03-13$115.44−2.5%40
2023-03-14$118.522025-03-07$199.1268.0%724
2025-03-26$201.192025-03-27$197.19−2.0%1
2025-05-13$207.862026-03-23$242.3216.6%314
2026-04-09$248.89open–24.0%–

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.

Trades: nine small losses and two large wins

The median trade returned -0.74% over a median hold of 4 days. Holds ranged from 1 day to 724. By exit year, 2022 had 5 round trips and no wins, 2023 had 2 and no wins, 2025 had 2 and 1 win, and 2026 had 1 and 1 win. The longest losing streak was 7 trades, and the longest winning streak was 1. The two winners were the 68.01% trade from 2023-03-14 at 118.52 to 2025-03-07 at 199.12 and the 16.58% trade from 2025-05-13 at 207.86 to 2026-03-23 at 242.32. The three next-best completed trades were all losses: -0.18% (2022-02-10 to 2022-02-11), -0.55% (2023-01-27 to 2023-01-31) and -0.74% (2022-03-30 to 2022-03-31). The worst were -3.89% (2022-02-02 to 2022-02-04), -3.7% (2021-10-19 to 2022-01-21), -3.15% (2022-04-05 to 2022-04-06), -2.45% (2023-02-01 to 2023-03-13) and -1.99% (2025-03-26 to 2025-03-27). The largest loss was small. Each exit comes when yesterday's close is below the average, which cuts losses before they become deep. A 20% win rate sounds poor and the profit factor of 4.91 says otherwise. The average win of 42.29% is based on two trades, and one of them made most of it. With only 10 completed trades the sample is thin. Without the 724-day trade the record would look very different, and a window that did not contain the 2023 to 2025 uptrend would too. Prices are adjusted for splits and dividends, so they are lower than the quotes printed at the time.

Entry and exit prices in the 2022 and 2023 whipsaw

The trade list shows what each small loss cost in price terms. The 2022 entries were at 147.17, 143.44, 147.67 and 146.89, and the exits at 141.45, 143.18, 146.57 and 142.27. The first of those, entered at 147.17 and sold at 141.45 two days later, is the -3.89% trade. The second lasted a single day. Every trade in that run was entered just above the 200-day average and exited just below it, so the loss on each was close to the distance the price moved across that line in a day or two.

The 2023 sequence ends differently. The rule bought on 2023-01-27 at 117.57, sold on 2023-01-31 at 116.92, bought again on 2023-02-01 at 118.34 and sold on 2023-03-13 at 115.44 for -2.45%. The next session, 2023-03-14, it bought at 118.52. That entry became the 724-day trade that ended at 199.12. The exit on 2023-03-13 was also the trough of the rule's deepest drawdown, so the longest-running winner began the day after the drawdown bottomed.

The long exits were also close to turning points. The sale on 2025-03-07 at 199.12 came before the fund's low on 2025-04-08. The sale on 2026-03-23 at 242.32 was followed by a re-entry on 2026-04-09 at 248.89, a higher price, and that position was up 24% on the last day. Re-entering above the previous exit happened in both 2025 and 2026, and the 2025 gap was from 199.12 to 207.86.

Largest drawdowns

PeakLow pointDepthDays to lowRecoveredDays to recover
2021-12-272023-03-13−19.8%4412023-06-1594
2024-07-102024-08-07−13.3%282024-11-0691
2025-02-192025-03-27−11.2%362025-08-08134

Buy-and-hold's deepest drawdown ran from 2021-12-27 to 2022-11-03 and reached −34.4%.

Drawdowns

The deepest drawdown was 19.82%, from 2021-12-27 to 2023-03-13, 441 days to the trough, with recovery on 2023-06-15 after 94 days. This is a long drawdown for a rule that sat in cash for eight months of it. The account lost the early 2022 whipsaws, stayed flat through the autumn while the fund fell, and then took the 2023-02-01 trade, which lost 2.45%, before re-entering. The second was 13.32%, from 2024-07-10 to 2024-08-07, recovered on 2024-11-06. The third was 11.16%, from 2025-02-19 to 2025-03-27, recovered on 2025-08-08. Buy-and-hold had drawdowns of 34.4%, 22.43% and 13.33%. The first ran from 2021-12-27 to 2022-11-03 and recovered on 2023-12-12. The second ran from 2025-02-19 to 2025-04-08 and recovered on 2025-06-24. The third was from 2024-07-10 to 2024-08-07, the same dates as the rule's second. The 2024 episode shows the limit of a slow filter. The fund fell 13.33% in 28 days and the rule fell 13.32% over the same dates. A 200-day average does not react to a one-month fall inside an uptrend, because the price stays above the line. The drawdown in 2025 is the opposite case. The rule's exit on 2025-03-07 came after the fund's 2025-02-19 peak and before most of the fall. The rule's drawdown was 11.16% against the fund's 22.43%. In both of the large episodes, 2022 and 2025, the rule's drawdown was shallower than the fund's by a wide margin. In the mid-2024 episode it was the same.

With trading costs

The headline run fills at the bar price. These runs charge slippage on every fill.

Slippage per fillCAGRMax drawdownFinal valueSharpe
None (headline)13.0%−19.8%$20,1900.93
5 basis points12.9%−20.3%$20,0880.92
10 basis points12.7%−20.8%$19,8130.91

Costs

The rule made 21 fills, so the cost runs have little to charge. At 5 basis points the CAGR was 12.92%, the drawdown 20.33%, the end equity $20,087.54 and the Sharpe 0.92. At 10 basis points the CAGR was 12.65%, the drawdown 20.83%, the end equity $19,812.70 and the Sharpe 0.906. The headline had a CAGR of 13.02% and a Sharpe of 0.93. The fund's Sharpe was 0.83, so the rule's Sharpe stayed above the fund's at both cost levels. Liquidity is not a constraint. QQQM's average daily dollar volume was $366,984,628 and its median minute volume was 2083 shares. The cost runs use a flat basis point charge per trade.

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules13.0%−19.8%1020%$20,190
100-day SMA10.6%−22.1%2544%$17,865
150-day SMA14.0%−13.7%1450%$21,266
250-day SMA8.9%−29.0%1414%$16,358

Parameter variants

Three other averages were tested. A 100-day average made 10.63% with a 22.14% drawdown, 25 trades and 11 wins, ending at $17,865. A 150-day average made 14.04% with 13.65%, 14 trades and 7 wins, ending at $21,266. A 250-day average made 8.95% with 29.04%, 14 trades and 2 wins, ending at $16,358. The 150-day average beat the 200-day on return and drawdown and had a Sharpe of 0.998. The 100-day made more trades and did worse. The 250-day was the slowest and had the deepest drawdown, since it stayed in the fund longer into the 2022 decline. The spread is wide for a one-line change: 8.95% to 14.04%. That says the 200-day result depends on the window length, and the 150-day figure is best only in this sample. Choosing it after seeing this table would fit the rule to one bear market. The ordering of 150, 200, 100 and 250 is not smooth, so the result is not a clean function of the window.

How QQQM behaved

MeasureQQQM
Data in this test2021-01-04 to 2026-10-02 (1444 sessions)
Total return, buy and hold151.5%
Annualized volatility22.3%
Deepest drawdown−35.1% (2021-12-27 to 2022-11-03)
Up days54.9%
Average daily range1.55%
Average overnight gap0.60%
Correlation to SPY0.94
Correlation to QQQ1.00
Correlation to TLT0.09
Sessions above the 200-day average75.2%
Crossings of the 200-day average20
Falls of 10% or more from a 20-day high21

How QQQM behaved

Across the window QQQM gained 151.54%, which is a 17.43% CAGR on a price basis, with annualized volatility of 22.34%. The largest fall was 35.06%, starting 2021-12-27 and bottoming on 2022-11-03. The fund recovered on 2023-12-12 after 492 sessions in the drawdown. Yearly returns ran 29.24% for 2021, -32.47% for 2022, 54.92% for 2023, 25.73% for 2024, 20.81% for 2025 and 22.47% for the partial 2026.

QQQM closed above its 200-day average on 75.18% of sessions and crossed the line only 20 times. Twenty crossings match the rule's 10 completed round trips, one entry and one exit each. Because the rule acts only on crossings, their count caps the number of trades, and that explains why the record is short.

The fund tracks the Nasdaq-100. Its correlation to QQQ was 1 and its beta to SPY was 1.28. The closest matches were QQQ, TQQQ and QLD at 1, VOOG at 0.98 and ROM at 0.97. SQQQ, QID and PSQ sat at -1, with TECS at -0.97 and REW at -0.96.

Single sessions moved a lot, with up days near 1.01% and down days near -1.06% on average. The top day was 2025-04-09 at 11.73% and the bottom day was 2025-04-04 at -6.08%. The rule held cash through 2025-04-04 and the rest of April 2025, so it avoided the worst day and also missed the best day of that stretch. Overnight returns made up 78.83% of the log return, with 71.17% against 19.11% intraday.

QQQM's calendar months, RSI readings and close peers

By calendar month, QQQM averaged 5.2% in May, 4.43% in November, 2.76% in October, 2.73% in June and 2.23% in July. January averaged 1.43%, April 0.92%, March 0.69% and August 0.64%. September at -1.67%, February at -0.7% and December at -0.49% averaged losses. Weekday averages were small: Monday 0.18%, Wednesday 0.1%, Friday 0.04%, and Tuesday and Thursday 0.03%.

Oversold readings were rare. RSI(14) fell below 30 on 16 sessions, with a median 5-day return of 3.21% against a baseline of 0.56%, but the median 20-day return was 1.54% against 1.73%. RSI(2) fell below 10 on 148 sessions, followed by medians of 0.77% over 5 days and 2.18% over 20, again close to the baselines of 0.56% and 1.73%. A filter that only follows the 200-day line ignores these readings.

The fund had 21 episodes of a 10% fall from a 20-day high, covering 81 days. That is few for a Nasdaq-100 fund and fits the 75.18% of sessions spent above the 200-day average.

The nearest peer for the rule was QQQ, which made 12.9% with a 19.93% drawdown and 10 round trips, against 13.02% and 19.82% on QQQM. IOO made 11.2% with a 16.52% drawdown over 15 round trips, and VOOG made 11.06% with 21.71% over 16.

Within the parameter runs, the 150-day average made 14 trades with 7 wins and the 250-day average made 14 trades with 2 wins. The 250-day version matched the 150-day trade count and won far fewer of them.

The rules

Own the asset when price closes above its 200-day average; hold cash when it closes below.

  1. WHEN the market opens · IF not invested AND yesterday's close > SMA(200) · THEN buy with 98% of the sleeve
  2. WHEN the market opens · IF invested AND yesterday's close < SMA(200) · THEN sell the whole position

One rule and one number. Price above the 200-day moving average has historically coincided with better returns and lower volatility than price below it. This template uses no crossovers and no oscillators, only which side of the long-term average the price is on.

Good for: a first systematic strategy, simple enough to audit every trade.
Watch out: price whips around the 200-day line during volatile bottoms, generating clusters of buy-sell pairs. Some traders add a small buffer band to reduce churn.

The filter against other templates and other broad funds

On QQQM the weekly 7% target made 16.64% with a 19.18% drawdown, the RSI(2) snapback 15.56% with 14.25%, the monthly cycle 14.95% with 36.63%, and the golden cross 13.82% with 22.4%. The 200-day filter was fifth at 13.02% with 19.82%. Behind it were the trend plus trailing stop rule at 11.38% with 26.76%, the SMA 10/50 trend at 9.05%, the 3-month momentum rule at 8%, the momentum breakout at 7.92%, the EMA 12/26 trend at 7.82%, the RSI mean reversion rule at 6.46% and the dip buyer at 5.35%. Among trend rules, the 200-day filter and the golden cross were the leaders, and they are the two slowest. The faster crossovers made more trades and earned less. The 724-day winner on this fund is the kind of trade a slow signal can hold. Among the 12 broad index funds the filter made 13.02% on QQQM, 12.9% on QQQ, 11.2% on IOO, 11.06% on VOOG, 8.41% on VOO, 8.3% on SPY, 7.86% on VV and 7.76% on EEM. It made 5.65% on QQQE, 4.67% on IWM, 4.31% on VOOV and 4.26% on VTV. The Nasdaq funds led, with 10 round trips each, while the value funds made 21 or 22 trips and earned the least. Funds that cross their average more often give the filter more whipsaws. The test stops at one fund and one 5.74-year window. The headline run has no fees or slippage. A window with a second long bear market would test the rule's exit again, and a window without one would show its cost in missed gains.

Run 200-day regime filter on QQQM yourself, free →

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 200-day regime filter beat buy-and-hold on QQQM?

Over 2021-01-04 to 2026-10-02, 200-day regime filter on QQQM returned 13.0% annualized vs 16.7% for buy-and-hold: it trailed buy-and-hold by 3.7% per year, with a maximum drawdown 14.6 points shallower than holding (19.8% vs 34.4%).

How many trades did it make?

10 completed round trips over 5.7 years (21 fills), with 20% of round trips closing profitably.

Why the 200-day average specifically?

It approximates a year of trading days and has been studied across decades of data. It is not the best window for every asset. The per-ETF backtests here show where it helped and where it didn't.

How did the 200-day regime filter do on QQQM?

It turned $10,000 into $20,190, a CAGR of 13.02% with a maximum drawdown of 19.82%. It made 10 round trips, won 2, and was invested 64.8% of the time. Buy-and-hold made 16.74% with a 34.4% drawdown.

How can a 20% win rate produce a good result?

The two winning trades averaged 42.29% and the eight losers averaged 2.08%. The best trade held 724 days and returned 68.01%. A single long trend makes the result, and the profit factor was 4.91.

Did the filter protect the account in 2022?

The rule lost 16.2% against 31.8% for the fund. It was in cash from May to December 2022. It also took four short losing trades in the first four months of the year.

Why were there no trades in 2021 before October?

The first entry came on 2021-10-19, and the first nine months of the window show 0%. The window starts on 2021-01-04.

Would a different moving average length have worked better?

A 150-day average made 14.04% with a 13.65% drawdown, a 100-day made 10.63% and a 250-day made 8.95%. The 150-day result comes from one window and one bear market, so it shows sensitivity more than a better setting.

How does QQQM compare with other broad index funds for this rule?

QQQM's 13.02% is the highest of the 12. QQQ made 12.9%, IOO 11.2% and SPY 8.3%. VTV made 4.26%.

Related

200-Day SMA Regime Filter on all 59 ETFsfull results table All strategies on QQQM12 templates compared RSI(14) Mean Reversion on QQQMsame ETF, different rulesRSI(2) Dip Snapback on QQQMsame ETF, different rules

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.