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

200-Day SMA Regime Filter on QID

ProShares UltraShort QQQ: -2x daily Nasdaq-100. 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 QID turned $10,000 into $5,303 (−47.0% total, −10.5% CAGR): it beat buy-and-hold by 19.0% per year, with a maximum drawdown 32.2 points shallower than holding (55.1% vs 87.3%).

The 200-day regime filter holds a fund while yesterday's close is above its 200-day simple average and sits in cash while it is below. QID is the ProShares UltraShort QQQ, a -2x daily Nasdaq-100 fund. Between 2021-01-04 and 2026-10-02 the rule turned $10,000 into $5,303, a total return of -46.97% and a CAGR of -10.46%.

Buy-and-hold on QID did much worse. It ended at $1,348, a CAGR of -29.46%, with a maximum drawdown of 87.33%. The rule's maximum drawdown was 55.14%. The rule therefore ended well ahead of holding, and still lost close to half of the starting capital. Its Sharpe ratio was -0.24 against -0.64.

The rule made 17 closed round trips and 34 fills. Three of the 17 won, a win rate of 18%. The average winner made 2.83% and the average loser lost 5.08%. The profit factor was 0.12 and the longest losing streak was 5. The rule was invested on 17.2% of trading days, so most of its result was decided in a short stretch of 2022 and a few weeks in 2023, 2025 and 2026.

The rule never traded in 2021 or 2024, and every cell in those years of the monthly table reads 0.0%. Both years were bad for QID, which lost 46.44% in 2021 and 34.03% in 2024, so being in cash was the correct place to be. The rule had no way of knowing that. It was in cash because QID's price stayed under its average.

The test is one window of about 5.7 years, with daily-decision rules, fills on minute bars, no margin, and no fees in the headline result. It describes what these rules did on this fund. It does not forecast.

−10.5%CAGR
−29.5%buy & hold CAGR
−55.1%max drawdown
-0.24Sharpe ratio
17round trips
18%win rate
■ 200-day regime filter   ■ buy & hold, $10,000 invested 2021-01-04

Year by year

Year200-day regime filterbuy & hold
20210.0%−45.2%
2022−25.6%63.3%
2023−15.7%−55.6%
20240.0%−31.8%
2025−10.0%−31.6%
2026−6.0%−29.5%

Year by year against holding QID

The rule returned 0% in 2021, -25.6% in 2022, -15.7% in 2023, 0% in 2024, -10% in 2025 and -6% in 2026 to date. Buy-and-hold returned -45.2%, 63.3%, -55.6%, -31.8%, -31.6% and -29.5%. The rule finished ahead in five of the six years, and the one year it was behind was the one where the fund made money.

In 2022 the rule lost 25.6% while buy-and-hold gained 63.3%. That is the widest gap in the table and the only year where holding won. QID is an inverse fund, and 2022 was the year the Nasdaq-100 fell: QQQ lost 32.39% in the fund's leverage table and QID gained 66.4% on the calendar. A 200-day filter needs price to rise above its slow average before it buys, and QID spent the early part of 2022 below it. The rule did not buy until 2022-01-24, and its first trade lost 10.45% in 8 days.

The rule made 11 round trips that exited in 2022, with 2 winners. Most of the year was a sequence of short entries and exits as QID crossed back and forth over its 200-day line. Whipsaw is the word for this, and the strategy page warns about it: price whips around the 200-day line during volatile bottoms, generating clusters of buy-sell pairs. See the glossary entry on whipsaw for the general idea.

In 2023 the rule lost 15.7% against 55.6% for holding. Two trades exited that year, both in January, and both lost: 6.05% from 2022-12-16 to 2023-01-18 and 4.77% from 2023-01-19 to 2023-01-23. After that the rule went to cash for the rest of the year as QID fell. The fund lost 57.25% in 2023.

In 2025 the rule lost 10% against 31.6%, with 3 trips and 1 winner, all in March and April. In 2026 it lost 6% against 29.5% with one trip, from 2026-03-20 to 2026-04-09. The pattern is the same each time: a spike lifts QID above its 200-day average, the rule buys, and the spike fades before the rule can exit with a gain.

The rule's advantage over holding in 2021, 2023, 2024, 2025 and 2026 is the same advantage each time. It avoided a fund that lost money in each of those years. The one year the fund gained, the rule gave back most of the opportunity and then lost money on its own.

Month by month

YearJanFebMarAprMayJunJulAugSepOctNovDec
20210.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%
2022−10.1%−4.6%−5.9%17.9%−1.0%16.4%−21.9%−6.6%22.5%−9.4%−17.2%1.3%
2023−15.7%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%
20240.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%
20250.0%0.0%−1.2%−8.9%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%
20260.0%0.0%3.4%−9.1%0.0%0.0%0.0%0.0%0.0%0.0%––

Monthly returns

Nearly all of the activity sits in 2022. The monthly returns for that year were -10.09% in January, -4.6% in February, -5.86% in March, 17.92% in April, -1.03% in May, 16.37% in June, -21.93% in July, -6.64% in August, 22.46% in September, -9.37% in October, -17.2% in November and 1.28% in December. January 2023 added -15.72%.

The best month was 2022-09 at 22.46%, which came from the long trade entered on 2022-08-29 at an adjusted $88.26 and exited on 2022-11-16 at $93.05. The worst was 2022-07 at -21.93%, which came from holding the position from 2022-04-11 until the exit on 2022-08-04. April and June were strong, 17.92% and 16.37%, and July took back more than either. Buy-and-hold's best month was 2022-04 at 28.51% and its worst was 2026-04 at -22.08%.

The pairs of months tell the same story as the trades. April 2022 and June 2022 gained a lot, yet the rule ended 2022 at -25.6%, because the losing months were the larger ones in total. A rule that is wrong in many small trades and right in a few large ones needs the large ones to be bigger than they were here.

The long run of zeros from February 2023 to February 2025 is two years of cash. The rule sat out the whole of 2023 after January and the whole of 2024. Those zeros are the reason the rule beats holding in those years. They also show that the filter did not fire at all for two years, because QID stayed below its 200-day average.

The later months are small. March 2025 was -1.19% and April 2025 was -8.94%. March 2026 was 3.43% and April 2026 was -9.11%. In both cases a March entry was followed by an April loss, and both April moves belong to the fund's sharp reversals: the fund's best days in the window include 2025-04-04 at 12.12%, and the worst day of the window was 2025-04-09 at -23.53%.

The fund's month-of-year averages are May at -9.75%, November at -8.36% and October at -5.32% on the weak side, and September at 4.33% on the strong side. With five or six observations per month the averages describe this window only.

Every trade

200-day regime filter on QID made 17 closed round trips, an average hold of 22 days, an average winner of 2.83%, an average loser of −5.08%, a profit factor of 0.12, a longest losing streak of 5. It held a position at the close on 17.2% of trading days.

EntryEntry priceExitExit priceReturnDays held
2022-01-24$84.022022-02-01$75.24−10.4%8
2022-02-14$81.232022-02-16$78.40−3.5%2
2022-02-18$81.442022-03-21$77.00−5.5%31
2022-03-22$76.762022-03-23$75.42−1.8%1
2022-04-11$78.542022-08-04$79.581.3%115
2022-08-10$78.482022-08-11$76.72−2.2%1
2022-08-23$83.372022-08-26$80.37−3.6%3
2022-08-29$88.262022-11-16$93.055.4%79
2022-11-17$97.082022-11-25$93.18−4.0%8
2022-11-28$94.492022-12-01$88.92−5.9%3
2022-12-07$96.832022-12-14$91.82−5.2%7
2022-12-16$100.202023-01-18$94.14−6.0%33
2023-01-19$98.992023-01-23$94.27−4.8%4
2025-03-07$33.102025-03-10$33.681.8%3
2025-03-11$35.142025-03-26$32.22−8.3%15
2025-03-27$33.522025-04-28$32.24−3.8%32
2026-03-20$21.382026-04-09$20.07−6.1%20

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 17 round trips

The median trade returned -4.02% and the median hold was 8 days. Holds ranged from 1 day to 115 days, with an average of 21.5 days. Only 3 of 17 won, and no two winners came in a row, so the longest winning streak was 1.

The three winners were 5.43% (2022-08-29 to 2022-11-16, 79 days), 1.75% (2025-03-07 to 2025-03-10, 3 days) and 1.32% (2022-04-11 to 2022-08-04, 115 days). The two long ones were trades where QID held above its average through a multi-month rally. The best trade made 5.43%, small next to the fund's daily range.

The five worst trades were -10.45% (2022-01-24 to 2022-02-01), -8.31% (2025-03-11 to 2025-03-26), -6.13% (2026-03-20 to 2026-04-09), -6.05% (2022-12-16 to 2023-01-18) and -5.89% (2022-11-28 to 2022-12-01). The worst was the first trade of the window, and it lost 10.45% within 8 days of the entry.

The cluster in 2022 shows the whipsaw. Between 2022-02-14 and 2022-03-23 the rule made three round trips: -3.48% over 2 days, -5.45% over 31 days and -1.75% over 1 day. In August it made trips of -2.24% over 1 day and -3.6% over 3 days before the 5.43% winner started on 2022-08-29. In November and December it made -4.02% over 8 days, -5.89% over 3 days and -5.17% over 7 days. Each of these is a reversal inside a week or two.

In 2025 the sequence was a 1.75% gain, an 8.31% loss over 15 days, and a 3.82% loss over 32 days, from 2025-03-27 to 2025-04-28. Those three trips took less than two months and lost more than they made.

By exit year the round trips and wins were 11 and 2 in 2022, 2 and 0 in 2023, 3 and 1 in 2025 and 1 and 0 in 2026. The first trade of the window did not occur until 2022-01-24, and the last ended on 2026-04-09. Nothing was open at the end of the data.

Largest drawdowns

PeakLow pointDepthDays to lowRecoveredDays to recover
2022-06-162026-04-08−55.1%1392not yet–
2022-01-272022-03-22−22.6%542022-05-0948
2022-05-242022-06-02−16.9%92022-06-1311

Buy-and-hold's deepest drawdown ran from 2021-03-08 to 2026-10-02 and reached −87.3%.

Drawdowns

The deepest drawdown was 55.14%. It began at an equity peak on 2022-06-16, reached its low on 2026-04-08 after 1,392 days, and has not recovered. Almost all of the days in that span were in cash. The curve fell in the second half of 2022 and January 2023, and then in two short episodes in 2025 and 2026. It never got back to the June 2022 level.

The second drawdown ran from 2022-01-27 to 2022-03-22 at 22.56%, and recovered on 2022-05-09. The third ran from 2022-05-24 to 2022-06-02 at 16.93% and recovered on 2022-06-13.

Buy-and-hold's deepest drawdown was 87.33%, from 2021-03-08 to the last day of the data, 2026-10-02, and it has not recovered either. The rule's drawdown was 32.19 points shallower. The fund itself lost 89.27% over the window, with a drawdown of 89.58% over 1,400 sessions.

A shallower drawdown here is a result of being out of the fund. The rule avoided QID in 2021, most of 2023 and all of 2024, and QID lost money in each of those periods. The drawdown comparison is therefore a comparison between a fund that falls steadily and a rule that touched it for 17.2% of days. The rule's own 55.14% decline came from 17 short, mostly losing trades, with no single trade lower than -10.45%.

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)−10.5%−55.1%$5,303-0.24
5 basis points−10.7%−55.7%$5,219-0.25
10 basis points−11.0%−56.1%$5,133-0.27

Costs

At 5 basis points of slippage per fill the CAGR was -10.71%, the maximum drawdown 55.69% and the final value $5,219. At 10 basis points the CAGR was -10.97%, the drawdown 56.13% and the final value $5,133. The headline run ended at $5,303. The Sharpe ratio moved from -0.24 to -0.254 and -0.266.

The cost effect is small because the result is dominated by trade losses, not fills. With 34 fills, each additional basis point of slippage took a small and similar amount from every trade. The headline numbers and the cost runs lead to the same conclusion.

QID averaged $228,567,798 of daily dollar volume, with a median minute volume of 5,631 shares. That is deep enough that small orders at 5 or 10 basis points are plausible, though the test does not measure real fills, and the assumptions are round numbers.

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules−10.5%−55.1%1718%$5,303
100-day SMA−11.8%−68.4%2722%$4,867
150-day SMA−7.0%−55.5%2020%$6,596
250-day SMA−7.3%−45.6%1625%$6,483

Different averages

Three variants change the length of the moving average. All three lost money, and all three did better than or close to the published 200-day version on at least one measure.

A 100-day average gave a CAGR of -11.79%, a maximum drawdown of 68.36%, 27 trades with 6 wins and a final value of $4,867. A shorter average reacted sooner and traded more, and the drawdown was deeper than the published rule.

A 150-day average gave -6.99%, a drawdown of 55.55%, 20 trades with 4 wins and a final value of $6,596. This was the best result of the group.

A 250-day average gave -7.27%, a drawdown of 45.63%, 16 trades with 4 wins and a final value of $6,483. The slowest average had the shallowest drawdown and the fewest trades.

The published 200-day rule sits between them on trades, 17, but behind both the 150 and 250 on CAGR. The three results do not form a smooth line, since 150 and 250 are close and 200 is worse than both. That is the typical pattern of a rule with few trades: each result rests on a handful of entries around the same few dates in 2022 and 2025, and a small shift in the average moves an entry across a spike. The variants are three tests, not a curve, and picking the best of them after the fact would be a fit to this window.

How QID behaved

MeasureQID
Data in this test2021-01-04 to 2026-10-02 (1444 sessions)
Total return, buy and hold−89.3%
Annualized volatility44.7%
Deepest drawdown−89.6% (2021-03-08 to 2026-10-02)
Up days45.1%
Average daily range3.15%
Average overnight gap1.19%
Correlation to SPY-0.94
Correlation to QQQ-1.00
Correlation to TLT-0.09
Sessions above the 200-day average20.0%
Crossings of the 200-day average34
Falls of 10% or more from a 20-day high78

How QID behaved

QID lost 89.27% over the window, a CAGR of -32.21%, with annualized volatility of 44.7%. Its calendar returns were -46.44% in 2021, 66.4% in 2022, -57.25% in 2023, -34.03% in 2024, -34.98% in 2025 and -34.35% in 2026 so far. It gained in one year out of six, the year the Nasdaq-100 fell.

The fund targets -2x the daily move of QQQ. QQQ returned 151.07% over the window. A simple -2 times that figure would be -302.14%, which a fund cannot lose, and the fund's actual return was -89.27%. The gap of 212.87 percentage points is the effect of daily rebalancing in an index that rose with large swings. The daily-rebalanced ideal return came to -93.34%. In 2022, the one year QQQ fell, the fund returned 66.4% against a nominal 64.79%, so the gap was small and positive.

The fund's average up day was 2.16% and the average down day was -2.02%. Up days were 45.11% of sessions and the average intraday range was 3.15%. The best day was 2025-04-04 at 12.12% and the worst was 2025-04-09 at -23.53%. The beta to SPY was -2.57 and the correlation to QQQ was -1.

QID was above its own 200-day average on only 20% of sessions and crossed it 34 times. The lag-1 autocorrelation was -0.03. RSI(14) fell below 30 on 116 sessions, and the median 20-day return afterwards was -3.09% against a baseline of -3.55%. RSI(2) below 10 occurred on 248 sessions with a median 20-day return of -3.93%. On this fund oversold readings were not followed by much of a rebound.

The fund fell 10% or more from a 20-day high 78 times, over 553 days. A trend rule meets the fund in its weak state most of the time, which is why the rule was invested on 17.2% of days and why exits came fast.

Among the other inverse funds, TBF returned a CAGR of 4.27% under this rule and PSQ -2.33%, SPDN -4.5%, SH -4.87%, EEV -5.6% and SDS -7.53%. QID at -10.46% sat in the middle of the 11. SQQQ made -10.51%, REW -12.99%, TECS -13.86% and SOXS -19.74%. The median CAGR for the rule across all 59 funds was 1.84%, and for the inverse category it was -7.53%. QID ranked 51st of 59.

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.

How a trend filter meets a -2x inverse fund

The entry is a check at the open: if the rule is flat and yesterday's close was above SMA(200), it buys with 98% of the sleeve. The exit is the opposite check: if invested and yesterday's close was below SMA(200), it sells everything. There is no buffer band around the line. The strategy page suggests that some traders add one to reduce churn.

On a fund like QID the price sits below its 200-day average most of the time, because the fund decays. The rule is then in cash for long periods, which helped it against holding in five of six years. When the fund spikes, the price crosses above the line, the rule buys, and the spike often ends within days. The filter is built to follow a persistent trend, and QID's trends in this window were short.

Among the 12 rules on QID, the 200-day regime filter ranked 5th at -10.46%. The RSI(2) snapback was first at -1.85% with a 59.04% drawdown, then momentum breakout at -3.08% with 45.66%, the golden cross at -6.03% and trend plus trailing stop at -7.6%. Behind it came the SMA 10/50 trend at -13.07%, EMA 12/26 trend at -13.63%, RSI mean reversion at -14.18%, 3-month momentum at -17.18%, the weekly profit target at -26.24%, the dip buyer at -27.11% and the monthly cycle at -28.81%. Every rule lost money on QID.

The rules at the bottom are those that hold or enter on weakness. The rules near the top either traded on short reversals or stayed in cash. The 200-day filter belongs with the cash-heavy group, and its loss came mostly from the 2022 whipsaw.

The QID page puts all 12 rules side by side, and the strategy page puts the filter on all 59 funds. The limits of this test are plain: one window, one fund, 17 trades, 3 of them winners, and a fund that lost 89.27% of its value over the period.

Run 200-day regime filter on QID 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 QID?

Over 2021-01-04 to 2026-10-02, 200-day regime filter on QID returned −10.5% annualized vs −29.5% for buy-and-hold: it beat buy-and-hold by 19.0% per year, with a maximum drawdown 32.2 points shallower than holding (55.1% vs 87.3%).

How many trades did it make?

17 completed round trips over 5.7 years (34 fills), with 18% 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.

Did the 200-day regime filter beat buy-and-hold on QID?

Yes, though both lost money. The rule returned a CAGR of -10.46% and ended at $5,303. Buy-and-hold returned -29.46% and ended at $1,348 over 2021-01-04 to 2026-10-02. The rule's maximum drawdown was 55.14% against 87.33%.

How many trades did it make?

It made 17 closed round trips and 34 fills. Three won, a win rate of 18%. The rule was invested on 17.2% of trading days and made no trades in 2021 or 2024.

Why did the rule lose in 2022 when QID gained?

QID returned 66.4% in 2022, but its price began the year below its 200-day average. The rule did not buy until 2022-01-24, lost 10.45% on the first trade, and then made a series of short losing trades as the price crossed the line repeatedly. It ended 2022 at -25.6%.

Does a different moving-average length help?

A 150-day average gave a CAGR of -6.99% and a 250-day average gave -7.27%, both better than 200 days at -10.46%. A 100-day average gave -11.79%. All lost money, and each rests on 16 to 27 trades.

How much do trading costs change the result?

Little. At 5 basis points per fill the final value was $5,219 and at 10 basis points it was $5,133, against $5,303 with no costs.

Which strategy did best on QID?

RSI(2) snapback had the highest CAGR on QID at -1.85%, followed by momentum breakout at -3.08%. This rule ranked 5th of 12 at -10.46%. None of the 12 made money.

Why is the win rate so low?

QID is a -2x fund that lost 89.27% over the window, and it crossed above its 200-day average only during brief spikes. The rule bought those spikes, and 14 of the 17 fades ended in a loss.

Related

200-Day SMA Regime Filter on all 59 ETFsfull results table All strategies on QID12 templates compared RSI(14) Mean Reversion on QIDsame ETF, different rulesRSI(2) Dip Snapback on QIDsame 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.