200-Day SMA Regime Filter on QQQE
Direxion NASDAQ-100 Equal Weighted Index Shares: the Nasdaq-100 with every stock weighted equally, so less mega-cap concentration. Backtest 2021-01-04 to 2026-10-02, $10,000 starting capital, computed by the same engine that runs live DeployQuant strategies.
Five winning trades out of 15 produced a positive result on QQQE, and the pattern behind that is the core of any trend filter. The 200-day regime filter owns the fund only while the prior close sits over its 200-day average, and otherwise stays in cash. QQQE is Direxion's equal-weighted Nasdaq-100 fund. Across 2021-01-04 to 2026-10-02 the account grew from $10,000 to $13,709, which is 5.65% a year, with a 15.29% maximum drawdown and a Sharpe ratio of 0.51.
Buy-and-hold on QQQE returned 9.83% a year and ended at $17,128, with a 31.44% drawdown and a Sharpe ratio of 0.59. The filter gave up 4.18 points of CAGR a year and took a drawdown that was 16.15 points shallower. It held the fund on 64.2% of trading days.
The trade record is lopsided. Only 33% of the 15 closed round trips won, yet the profit factor was 1.83, because the average winner returned 6.99% and the average loser -1.88%. The four longest trades each ran from 177 to 308 days and returned between 4.3% and 11.44%. Most of the losers lasted one to eight days, apart from two of 26 and 87 days.
The rule ranked 7th of 12 templates on this fund, and QQQE ranked 21st of 59 funds for the rule. Across all funds the rule's median CAGR was 1.84%, and for broad index funds it was 8.3%, so QQQE at 5.65% sits below its category and above the overall median. All figures come from a single 5.7-year window before any costs.
Year by year
| Year | 200-day regime filter | buy & hold |
|---|---|---|
| 2021 | 2.9% | 19.2% |
| 2022 | −11.6% | −23.9% |
| 2023 | 19.2% | 32.8% |
| 2024 | 0.6% | 6.8% |
| 2025 | 9.5% | 14.3% |
| 2026 | 14.8% | 18.8% |
Year by year
The rule returned 2.9% in 2021, -11.6% in 2022, 19.2% in 2023, 0.6% in 2024, 9.5% in 2025 and 14.8% in 2026 through October 2. Buy-and-hold returned 19.2%, -23.9%, 32.8%, 6.8%, 14.3% and 18.8%. The rule beat the fund in 2022 only.
2021 left the rule far behind: 2.9% against 19.2%, a gap of 16.3 points. The monthly table shows the reason. The rule was in cash from January through September and made its first entry on 2021-10-19 at $79.88. A 200-day average needs 200 sessions of history before it can be computed, and that fits a first entry in the second half of October. The first trade exited on 2022-01-14 at $77.45, a loss of 3.04% after 87 days.
2022 is the year the filter earned its keep. QQQE fell 23.9% as a held position, and the rule lost 11.6%, a gap of 12.3 points in its favour. All of the rule's loss came in two months: January at -6.1% and December at -5.9%. Between February and November the rule was in cash, and every month shows 0.0%. The four round trips of 2022 all lost, the 87-day trade and three short ones. In December it entered on 2022-12-01 at $66.75 and again on 2022-12-14 at $66.08, and each was stopped out by a close below the average within days.
2023 was the recovery year, and it exposed the cost of waiting. The fund returned 32.8% and the rule 19.2%, a gap of 13.6 points. The rule re-entered on 2023-01-23 at $65.68, held to 2023-10-23 at $70.96 for 8.04%, and then collected 6.4% in November and 7.4% in December from the next entry. The monthly table shows losses of 3.0% in August, 4.1% in September and 4.7% in October as the first long trade ran down toward its exit.
In 2024 the rule returned 0.6% against 6.8%. The year included the 276-day winner that ended on 2024-08-05 at $80.47 for 10.98%, then a flurry of exits and entries in August and September: a one-day trade of 0.2% on 2024-08-12, a 26-day trade of -0.6% and then a 177-day winner of 4.3% from 2024-09-11. 2025 returned 9.5% against 14.3%, with March at -6.3%, the worst month of the test, from the end of the 177-day trade and two further losses of -1.7% and -1.6% in March. The 308-day trade began on 2025-05-09 at $89.89.
2026 gives 14.8% against 18.8%. The long trade ended on 2026-03-13 at $100.17 for 11.44%, a short loss of 2.0% followed in March, and the rule re-entered on 2026-04-09 at $101.64. That position was up 19.39% at the last close, and May 2026 at 8.7% was the rule's best month.
Month by month
| Year | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2021 | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 1.7% | −1.6% | 2.8% |
| 2022 | −6.1% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | −5.9% |
| 2023 | 1.9% | −1.1% | 5.0% | −2.2% | 3.0% | 5.3% | 4.7% | −3.0% | −4.1% | −4.7% | 6.4% | 7.4% |
| 2024 | 0.6% | 3.7% | 1.1% | −5.2% | 2.7% | 2.5% | −0.3% | −4.0% | 0.1% | −1.2% | 6.0% | −4.7% |
| 2025 | 4.6% | −1.2% | −6.3% | 0.0% | 3.1% | 4.9% | 0.1% | −0.4% | 3.9% | 1.9% | −1.4% | 0.4% |
| 2026 | 1.5% | 0.1% | −5.1% | 7.3% | 8.7% | 2.4% | −4.0% | 4.0% | −1.3% | 1.0% | – | – |
Month by month
The table has many months at 0.0%, the rule's cash months, and the zeros come in blocks: January to September 2021, February to November 2022 and April 2025. In these stretches the rule did nothing. The first block coincided with the average's warm-up, and the second with the 2022 fall.
The best month was May 2026 at 8.7%. The worst was March 2025 at -6.31%. Buy-and-hold's best was April 2026 at 10.95% and its worst April 2022 at -10.27%. The rule's April 2022 was 0.0%, because it was in cash. That one month is a good picture of what a regime filter does: it removes the worst month of the fund's drawdown and also removes the first month of a recovery.
The rule's November results show the cost of that. November has been the strongest month for QQQE in the data, with an average of 4.2%, and the rule's Novembers were -1.6% in 2021, 0.0% in 2022, 6.4% in 2023, 6.0% in 2024 and -1.4% in 2025. September averaged -2.45% for the fund, and the rule's Septembers were 0.0% in 2021 and 2022, -4.1% in 2023, 0.1% in 2024, 3.9% in 2025 and -1.3% in 2026.
Losing months come in clusters near the 200-day line: August to October 2023, August 2024, and March of 2025 and 2026. They are the months in which the price crosses the average and the rule trades on both sides of it.
Every trade
200-day regime filter on QQQE made 15 closed round trips and one position still open at the end of the test, an average hold of 78 days, an average winner of 6.99%, an average loser of −1.88%, a profit factor of 1.83, a longest losing streak of 5. It held a position at the close on 64.2% of trading days.
| Entry | Entry price | Exit | Exit price | Return | Days held |
|---|---|---|---|---|---|
| 2021-10-19 | $79.88 | 2022-01-14 | $77.45 | −3.0% | 87 |
| 2022-01-18 | $77.11 | 2022-01-19 | $76.74 | −0.5% | 1 |
| 2022-12-01 | $66.75 | 2022-12-06 | $65.40 | −2.0% | 5 |
| 2022-12-14 | $66.08 | 2022-12-16 | $63.40 | −4.1% | 2 |
| 2023-01-12 | $65.19 | 2023-01-20 | $64.17 | −1.6% | 8 |
| 2023-01-23 | $65.68 | 2023-10-23 | $70.96 | 8.0% | 273 |
| 2023-10-25 | $71.17 | 2023-10-26 | $69.88 | −1.8% | 1 |
| 2023-11-03 | $72.51 | 2024-08-05 | $80.47 | 11.0% | 276 |
| 2024-08-12 | $83.71 | 2024-08-13 | $83.88 | 0.2% | 1 |
| 2024-08-14 | $85.00 | 2024-09-09 | $84.51 | −0.6% | 26 |
| 2024-09-11 | $85.20 | 2025-03-07 | $88.86 | 4.3% | 177 |
| 2025-03-10 | $88.60 | 2025-03-11 | $87.12 | −1.7% | 1 |
| 2025-03-25 | $89.92 | 2025-03-27 | $88.53 | −1.6% | 2 |
| 2025-05-09 | $89.89 | 2026-03-13 | $100.17 | 11.4% | 308 |
| 2026-03-17 | $101.08 | 2026-03-19 | $99.07 | −2.0% | 2 |
| 2026-04-09 | $101.64 | open | – | 19.4% | – |
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 15 trades and the open position
The rule made 15 closed round trips and had a 16th open at the end of the test, entered on 2026-04-09 at $101.64 and marked at +19.39%. The median return was -1.55%, the median hold 5 days, the shortest 1 day and the longest 308. The average hold was 78 days. The distance between a 5-day median and a 78-day average is the shape of the record: many short trades and a few very long ones.
The five best trades were 11.44%, 10.98%, 8.04%, 4.3% and 0.2%. The first four ran 308, 276, 273 and 177 days. They took place in 2025 to 2026, 2023 to 2024, 2023 and 2024 to 2025. The worst five were -4.06%, -3.04%, -2.02%, -1.99% and -1.81%. Four of them lasted five days or less. The single long loser was the first trade of the test, 87 days.
A strategy with a 33% win rate and a profit factor of 1.83 depends on the winners being much larger than the losers. Here that held: the average winner was 6.99% against an average loser of -1.88%. The winners arrived once the fund trended for months, and the losers were whipsaws around the 200-day line. The template notes describe the effect, which is clusters of buy-sell pairs when price whips around the 200-day line at volatile bottoms. The record shows it directly, with trades on 2022-12-01 and 2022-12-14, 2023-01-12 and 2023-01-23, and 2023-10-25 and 2023-11-03, each pair a failed entry followed by a successful one or a second failure.
Trades per exit year: 4 in 2022 with no wins, 3 in 2023 with 1, 3 in 2024 with 2, 3 in 2025 with 1 and 2 in 2026 with 1. There were no round trips closed in 2021. The year with no wins, 2022, had four losing trades.
The rule's drawdown record and the trade record agree: the filter kept the account out of the worst of 2022 and paid for it with a series of small losses at turning points. The losses were small enough that the long winners covered them.
Largest drawdowns
| Peak | Low point | Depth | Days to low | Recovered | Days to recover |
|---|---|---|---|---|---|
| 2021-11-16 | 2023-03-10 | −15.3% | 479 | 2023-07-13 | 125 |
| 2024-07-16 | 2024-09-06 | −12.0% | 52 | 2025-02-18 | 165 |
| 2025-02-18 | 2025-05-09 | −11.6% | 80 | 2025-10-01 | 145 |
Buy-and-hold's deepest drawdown ran from 2021-11-16 to 2022-10-14 and reached −31.4%.
The drawdowns
The rule's deepest drawdown was 15.29%, from the peak on 2021-11-16 to the low on 2023-03-10, 479 days. It recovered on 2023-07-13, 125 days after the low. The second was 11.99%, from 2024-07-16 to 2024-09-06, recovered on 2025-02-18, and the third was 11.59%, from 2025-02-18 to 2025-05-09, recovered on 2025-10-01.
Buy-and-hold had a 31.44% drawdown from 2021-11-16 to 2022-10-14, which recovered on 2024-01-19, 462 days after the low. Its second was 20.93% from 2025-02-18 to 2025-04-08, and its third 10.15% from 2024-07-16 to 2024-08-05. The rule's fall was shallower in 2022 and 2025, when the fund lost 20.93% and the rule 11.59%, and deeper in the 2024 episode, at 11.99% against 10.15%.
The rule's equity peaked on the same day as the fund, 2021-11-16, because it had already entered in October. It sold on 2022-01-14 and again lost 6.1% in January 2022. That is the weakness of a 200-day filter, which needs the price to fall below a slow average before it exits, and a fast fall can cost several percent before the signal.
Even so, the rule's drawdown was 16.15 points shallower than holding the fund, and the Sharpe ratio of 0.51 against 0.59 says the return per unit of risk was close to the fund's, a little lower. The filter reduced risk and return together.
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) | 5.7% | −15.3% | $13,709 | 0.51 |
| 5 basis points | 5.3% | −15.7% | $13,487 | 0.48 |
| 10 basis points | 5.1% | −16.1% | $13,284 | 0.46 |
With trading costs
The rule made 31 fills in the window. Charging 5 basis points a fill gave a CAGR of 5.35%, a drawdown of 15.7% and a final value of $13,487. At 10 basis points the CAGR was 5.07%, the drawdown 16.13% and the final value $13,284. The Sharpe ratio moved from 0.51 to 0.485 and then 0.462.
A rule with 31 fills in 5.7 years pays the friction rarely, and the average winner of 6.99% is large against it. The final value was $13,487 and $13,284 at the two cost levels, so this rule is less sensitive to execution quality than a high-turnover template.
The caution is liquidity. QQQE's average daily dollar volume was about $14,399,103 and its median minute volume 308 shares. That is a thin fund. The headline run assumes fills at the bar price, and on a fund with a few hundred shares a minute the actual price paid can sit further from the bar than the cost runs assume. For a small account this matters little, and a larger one would see the difference.
Changing the parameters
| Version | CAGR | Max drawdown | Round trips | Win rate | Final value |
|---|---|---|---|---|---|
| Published rules | 5.7% | −15.3% | 15 | 33% | $13,709 |
| 100-day SMA | 2.5% | −19.1% | 34 | 29% | $11,498 |
| 150-day SMA | 4.0% | −19.2% | 23 | 30% | $12,529 |
| 250-day SMA | 6.4% | −13.2% | 10 | 40% | $14,283 |
Changing the window
Three variants changed the length of the average. A 100-day SMA returned 2.46% a year with a 19.1% drawdown, 34 trades and 10 winners, ending at $11,498. A 150-day SMA returned 4% with a 19.2% drawdown, 23 trades and 7 winners, ending at $12,529. A 250-day SMA returned 6.41% with a 13.21% drawdown, 10 trades and 4 winners, ending at $14,283.
The ordering is close to clean: the longer the average, the better the CAGR, the fewer the trades and, with one small exception, the shallower the drawdown. The 250-day version beat the published 200-day rule on return, at 6.41% against 5.65%, and on drawdown, at 13.21% against 15.29%, with 10 trades against 15. The 100-day version was worst, with 34 trades, many of them whipsaws.
A faster average means more crossings of a price that spends time near the line, and QQQE crossed its 200-day average 30 times in the window. The slower the average, the fewer of those crossings count. On this fund and in this window, the results fit extra trades from a shorter average costing more than the earlier exits saved.
That result is not a recommendation to lengthen the window. All three variants come from one 5.7-year window, in which a long average also meant a later first entry. The table is a sensitivity check.
How QQQE behaved
| Measure | QQQE |
|---|---|
| Data in this test | 2021-01-04 to 2026-10-02 (1444 sessions) |
| Total return, buy and hold | 76.6% |
| Annualized volatility | 20.2% |
| Deepest drawdown | −32.1% (2021-11-16 to 2022-10-14) |
| Up days | 52.0% |
| Average daily range | 1.35% |
| Average overnight gap | 0.53% |
| Correlation to SPY | 0.94 |
| Correlation to QQQ | 0.95 |
| Correlation to TLT | 0.12 |
| Sessions above the 200-day average | 74.5% |
| Crossings of the 200-day average | 30 |
| Falls of 10% or more from a 20-day high | 23 |
How QQQE behaved
QQQE is the Nasdaq-100 with every stock weighted equally. It returned 76.64% over the window, 10.42% a year, with annualized volatility of 20.24% and a deepest drawdown of 32.14% from 2021-11-16 to 2022-10-14, recovered on 2024-01-19. Calendar returns ran 19.69% in 2021, -24.49% in 2022, 33.77% in 2023, 6.98% in 2024 and 14.62% in 2025, with 19.15% so far in 2026.
The fund's beta to SPY was 1.15 and to QQQ 0.86, and its correlation to SPY was 0.94 and to QQQ 0.95. Up days were 52.04% of sessions, averaging 0.94%, and down days averaged -0.93%. The best day was +10.63% on 2025-04-09 and the worst -6.23% on 2025-04-04.
For a regime filter, the key statistic is how the fund behaves around its 200-day average. QQQE closed above it on 74.54% of sessions and crossed it 30 times. Three-quarters of sessions above the line means the rule was invested on most days, though the rule's own exposure was 64.2%, partly because the first nine months were spent waiting for the average to exist. Falls of 10% or more from a 20-day high happened 23 times and covered 56 days.
The RSI statistics show the fund's character in another way. On 18 sessions the 14-day RSI closed under 30. The median return over the next 5 days was 3.82% and over the next 20 days 3.53%, where an ordinary day gave 0.41% and 1.22%. The fund rebounded after oversold readings in this window, which is a pattern a mean-reversion rule uses and a trend filter does not. The overnight share of return was 148.4% and the intraday share -48.4%: the fund's whole gain came between close and open, and trading hours subtracted from it.
The rules
Own the asset when price closes above its 200-day average; hold cash when it closes below.
- WHEN the market opens · IF not invested AND yesterday's close > SMA(200) · THEN buy with 98% of the sleeve
- 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 the filter fits this fund
Each morning with no position it checks yesterday's close against the 200-day average and, if the close is higher, buys with 98% of the sleeve. With a position, a close below the average sends the whole position out at the open. The description calls it one rule and one number, simple enough to audit every trade.
On QQQE the filter ranked 7th of 12. The weekly 7% target returned 11.21% with a 19.33% drawdown. The RSI(2) snapback returned 9.49% with a 13.16% drawdown, the monthly cycle 7.95%, the RSI mean reversion rule 7.22%, the golden cross 6.98% and the trend plus trailing stop rule 6.77%. Behind the filter were the dip buyer at 5.41%, the EMA 12/26 trend rule at 1.87%, the momentum breakout at 1.78%, the SMA 10/50 trend rule at 1.16% and the 3-month momentum rule at -2.86%.
The filter was the best of the trend rules except the golden cross and the trend plus trailing stop, which both use the 200-day average. Faster trend rules did worse. The SMA 10/50 and the EMA 12/26 rules ended near 1% to 2%, which says the slow average carried more of the benefit on this fund. The filter's 15.29% drawdown was the second shallowest of the twelve behind the RSI(2) snapback's 13.16%.
The cap-weighted Nasdaq funds did far better with the same filter: QQQM made 13.02% and QQQ 12.9%. Next came IOO at 11.2%, VOOG at 11.06%, VOO at 8.41% and SPY at 8.3%. QQQE at 5.65% fell in the lower half of the group, ahead of only IWM at 4.67%, VOOV at 4.31% and VTV at 4.26%. The category median was 8.3%. Equal weighting gave the fund a different path from the cap-weighted Nasdaq-100 funds, and the filter's results on QQQ and QQQM were well above QQQE's. The QQQE page compares all templates on the fund and the 200-day regime filter page has the table for all 59.
This is one fund and one window with daily decisions. The numbers are not a forecast.
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 QQQE?
Over 2021-01-04 to 2026-10-02, 200-day regime filter on QQQE returned 5.7% annualized vs 9.8% for buy-and-hold: it trailed buy-and-hold by 4.2% per year, with a maximum drawdown 16.2 points shallower than holding (15.3% vs 31.4%).
How many trades did it make?
15 completed round trips over 5.7 years (31 fills), with 33% 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 QQQE?
No on return, yes on drawdown. The rule returned 5.65% a year against 9.83% and ended at $13,709 against $17,128. Its maximum drawdown was 15.29% against 31.44%.
Why did a rule with a 33% win rate make money?
The average winner was 6.99% and the average loser -1.88%, and the profit factor was 1.83. Four trades ran 177 to 308 days and gained between 4.3% and 11.44%. Most losers lasted a few days.
Why was the rule in cash for most of 2021?
Its first entry was on 2021-10-19. A 200-day average needs 200 sessions of history, which fits cash from January to September. The first trade lost 3.04% and exited on 2022-01-14.
Which year was best for the rule against the fund?
2022. The fund fell 23.9% and the rule fell 11.6%, a gap of 12.3 points. It was the only year in which the rule finished ahead of buy-and-hold.
Would a different average length have done better?
A 250-day average returned 6.41% with a 13.21% drawdown and 10 trades. A 150-day average returned 4% and a 100-day average 2.46%. Longer averages did better on this fund in this window.
How much did costs change the result?
A little. At 5 basis points per fill the CAGR was 5.35% and at 10 basis points 5.07%. The rule made 31 fills, so costs applied rarely.
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.