200-Day SMA Regime Filter on TECS
Direxion Daily Technology Bear 3X Shares: -3x daily technology sector. Backtest 2021-01-04 to 2026-10-02, $10,000 starting capital, computed by the same engine that runs live DeployQuant strategies.
The 200-day regime filter owns a fund while yesterday's close is above its 200-day simple average and holds cash when the close is below. Applied to TECS, the Direxion Daily Technology Bear 3X Shares, it turned $10,000 into $4,247 between 4 January 2021 and 2 October 2026. That is a total return of -57.53% and a CAGR of -13.86%, with a maximum drawdown of 62.37%.
Buy-and-hold on TECS did far worse. It ended at $271, a CAGR of -46.67%, with a max drawdown of 97.52%. The filter's CAGR was 32.81 points a year higher and its final value was $3,976 higher. The Sharpe ratio was -0.15 against -0.72. The rule lost money, and it lost much less than holding the fund.
The rule made 17 round trips and won 3, a win rate of 18%. The average winner returned 0.66% and the average loser -6.14%, which gives a profit factor of 0.02. The best trade returned 1.37% and the worst lost 10.72%. The strategy was invested 11.4% of the time and held for 13.6 days on average.
TECS is a -3x daily fund on the technology sector, so it rises when technology stocks fall and decays when they rise. A rule that buys it only above its own 200-day line is a rule that buys it after it has already risen. The rest of the record shows what that did.
These are hypothetical backtest results for one rule, one fund and one window of 5.74 years. The headline run has no fees or slippage and no margin, and each decision fills at the next open.
Year by year
| Year | 200-day regime filter | buy & hold |
|---|---|---|
| 2021 | 0.0% | −68.0% |
| 2022 | −48.5% | 42.5% |
| 2023 | −6.0% | −71.4% |
| 2024 | 0.0% | −42.3% |
| 2025 | −9.3% | −46.3% |
| 2026 | −3.2% | −36.9% |
What each year did
2021 returned 0.0% for the rule and -68.0% for buy-and-hold. TECS fell all year and never closed above its 200-day average, so the rule held cash for every month. The gap of 68 points that year is the largest in the yearly comparison in the rule's favour.
2022 returned -48.5% for the rule and 42.5% for buy-and-hold, and it is the one year the rule lost to holding, by 91 points. TECS rallied in 2022 as technology stocks fell, and it went above its 200-day average for the first time on 8 March, when the rule bought at an adjusted price of $3,837.19. The rule made 13 round trips that year and won 2.
The year opened badly. The first trade held 2 days and lost 6.43%. A second, from 11 March to 17 March, lost 5.69%. April brought a 1-day trade that lost 5.55% and a 2-day trade that lost 10.09%, then a small win of 0.39% on a 7-day hold. May opened with a 3-day trade that lost 10.72%, the worst of the run. The monthly returns were -11.52% in March, -14.46% in April and -15.37% in May.
The summer was more mixed. A 28-day hold from 6 May to 3 June lost 6.22%, and a 46-day hold from 6 June to 22 July lost 1.24%. June added 29.44%, the best month of the record, and July lost 30.27%, the worst. September added 26.61%, and the 47-day hold that began on 14 September closed on 31 October with 1.37%, the best single trade. Then October lost 25.22% and November 8.4%. The rule closed the year at -48.5%.
2023 returned -6.0% against -71.4%. The only trade that year, an entry on 4 January 2023 at $3,562.86 and an exit on 9 January at $3,345.92, lost 6.09%. The filter then moved to cash and stayed there for the rest of the year and all of 2024. The yearly table shows 0.0% for 2024 against -42.3% for buy-and-hold.
2025 returned -9.3% against -46.3%. A 2-day trade in March gained 0.23%, then a position bought on 7 March at $542.33 was held 49 days to 25 April at $489.5, a loss of 9.74%. March added 10.92% and April lost 18.27%. 2026 returned -3.2% against -36.9%, running to 2 October. The only trade bought on 27 March at $211.65 and sold on 2 April at $204.73 for -3.27%.
The filter beat buy-and-hold in 2021, 2023, 2024, 2025 and 2026, by 68, 65.4, 42.3, 37 and 33.7 points. It lost in 2022 by 91 points. The rule's lead over holding came from five years of staying out, and its one bad year came when it bought a rally late.
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% | 0.0% | 0.0% | 0.0% |
| 2022 | 0.0% | 0.0% | −11.5% | −14.5% | −15.4% | 29.4% | −30.3% | 3.9% | 26.6% | −25.2% | −8.4% | −1.2% |
| 2023 | −6.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% |
| 2024 | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% |
| 2025 | 0.0% | 0.0% | 10.9% | −18.3% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% |
| 2026 | 0.0% | 0.0% | −4.2% | 1.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | – | – |
The months in the market
The month table is zeros for most of its length. The rule held cash in every month of 2021 and January and February 2022, every month from February to December 2023, all of 2024, January and February 2025, May to December 2025, January and February 2026, and May to September 2026. The non-zero months are March 2022 to January 2023, March and April 2025, and March and April 2026.
The 2022 months swing hard. The seven months from March to September ran -11.52%, -14.46%, -15.37%, 29.44%, -30.27%, 3.87% and 26.61%. A monthly return near 30% in both directions shows what a 3x fund does over a month, and each time the rule bought, the position was exposed to that range. The extremes came in consecutive months, 29.44% in June and -30.27% in July.
Buy-and-hold had its best month in September 2022 at 40.34% and its worst in July 2022 at -32.19%. The rule's July was -30.27%, which means it held nearly the whole fund through the July decline. Its September was 26.61%, so it caught most of the September rebound. The pattern is a rule that was in the right position for the up month and the wrong position for the down month on the same swing.
After January 2023 the table shows just two short bursts, March and April 2025 with 10.92% and -18.27%, and March and April 2026 with -4.16% and 1.0%. Both were tied to brief crossings of the 200-day line.
Every trade
200-day regime filter on TECS made 17 closed round trips, an average hold of 14 days, an average winner of 0.66%, an average loser of −6.14%, a profit factor of 0.02, a longest losing streak of 5. It held a position at the close on 11.4% of trading days.
| Entry | Entry price | Exit | Exit price | Return | Days held |
|---|---|---|---|---|---|
| 2022-03-08 | $3837.19 | 2022-03-10 | $3590.46 | −6.4% | 2 |
| 2022-03-11 | $3502.47 | 2022-03-17 | $3303.19 | −5.7% | 6 |
| 2022-04-13 | $3341.15 | 2022-04-14 | $3155.67 | −5.5% | 1 |
| 2022-04-18 | $3407.14 | 2022-04-20 | $3063.37 | −10.1% | 2 |
| 2022-04-22 | $3334.25 | 2022-04-29 | $3347.19 | 0.4% | 7 |
| 2022-05-02 | $3614.62 | 2022-05-05 | $3227.28 | −10.7% | 3 |
| 2022-05-06 | $3634.46 | 2022-06-03 | $3408.44 | −6.2% | 28 |
| 2022-06-06 | $3277.31 | 2022-07-22 | $3236.77 | −1.2% | 46 |
| 2022-07-25 | $3379.11 | 2022-07-28 | $3103.14 | −8.2% | 3 |
| 2022-08-31 | $3241.51 | 2022-09-12 | $3143.60 | −3.0% | 12 |
| 2022-09-14 | $3517.14 | 2022-10-31 | $3565.45 | 1.4% | 47 |
| 2022-11-01 | $3484.41 | 2022-11-11 | $3185.87 | −8.6% | 10 |
| 2022-12-28 | $3636.75 | 2022-12-30 | $3593.05 | −1.2% | 2 |
| 2023-01-04 | $3562.86 | 2023-01-09 | $3345.92 | −6.1% | 5 |
| 2025-03-04 | $533.09 | 2025-03-06 | $534.31 | 0.2% | 2 |
| 2025-03-07 | $542.33 | 2025-04-25 | $489.50 | −9.7% | 49 |
| 2026-03-27 | $211.65 | 2026-04-02 | $204.73 | −3.3% | 6 |
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 trades
Of 17 round trips, 14 lost money. The three winners returned 1.37%, 0.39% and 0.23%. The median trade returned -5.69%, and the median hold was 6 days. The longest hold was 49 days and the shortest was 1. The longest losing streak was 5.
Trades cluster in 2022. Thirteen of the 17 round trips closed in 2022, with 2 wins. One closed in 2023, two in 2025 and one in 2026. That clustering is what the strategy page's caveat describes: price whips around the 200-day line during volatile bottoms, generating clusters of buy-sell pairs. TECS crossed its 200-day line 34 times in the window.
The prices show the scale of the decline. The first entry was at $3,837.19 in March 2022 and the last at $211.65 in March 2026. These are adjusted prices, which carry the effect of splits, so the level changes a great deal over the window while the percentage returns stay meaningful. A 3x inverse fund falls steadily when the sector it shorts rises, and this one did.
The wins are tiny and the losses are large. Winners averaged 0.66% and losers -6.14%. At an 18% win rate the winners would have had to be much larger than the losers to break even, and they were far smaller. The profit factor of 0.02 means gross gains were a small fraction of gross losses.
A pair like the 28-day hold from 6 May to 3 June 2022 that lost 6.22% is typical of the signal's lag. The filter bought on the close above the average, the fund reversed, and the exit came only after the close dropped back under it. The two exits at 3 days and 2 days in April and May lost 10.09% and 10.72%, over two and three days, and a daily signal cannot react inside that window.
Largest drawdowns
| Peak | Low point | Depth | Days to low | Recovered | Days to recover |
|---|---|---|---|---|---|
| 2022-03-14 | 2026-04-01 | −62.4% | 1479 | not yet | – |
| 2022-03-08 | 2022-03-09 | −11.7% | 1 | 2022-03-11 | 2 |
Buy-and-hold's deepest drawdown ran from 2021-01-06 to 2026-10-02 and reached −97.5%.
Drawdowns
The deepest drawdown was 62.37%. The peak was on 14 March 2022, the low on 1 April 2026 after 1,479 days, and the account had not recovered by 2 October 2026. Equity peaked on 14 March 2022, days after the first trade, and declined through the remaining trades. The second drawdown was 11.71%, from 8 March to 9 March 2022, recovering 2 days later on 11 March.
Buy-and-hold had a 97.52% drawdown, from 6 January 2021 to 2 October 2026, and it was still open at the end. The rule's max drawdown was 35.15 points shallower. A 62.37% drawdown for a rule that is out of the market most of the time is high, and it comes from the 3x leverage: each trade carries a potential 10% loss in two or three days.
The drawdown at the end matters more than the CAGR here. Every later trade lost money or won less than 1.4%, so the equity never got back to its March 2022 high. After the 1,479 days from the peak the account was still below the high.
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) | −13.9% | −62.4% | $4,247 | -0.15 |
| 5 basis points | −14.1% | −62.9% | $4,175 | -0.16 |
| 10 basis points | −14.4% | −63.5% | $4,104 | -0.17 |
Slippage runs
With 34 fills, 2 per round trip, costs had a moderate effect. At 5 basis points per fill the CAGR was -14.11%, the drawdown 62.94% and the final value $4,175. At 10 basis points the CAGR was -14.37%, the drawdown 63.5% and the final value $4,104. The Sharpe ratio moved from -0.15 to -0.159 and then to -0.166.
Most of the loss comes from the trades themselves. The slippage runs left slightly less in the final value, while the trades took away more than half of the starting sleeve. On a fund where the average loser is -6.14%, a charge of a few hundredths of a percent a side does not change the story.
TECS trades 70 shares in the median minute and averages $52,984,363 in daily dollar volume, so for a $10,000 sleeve the fill quality is not a constraint.
Changing the parameters
| Version | CAGR | Max drawdown | Round trips | Win rate | Final value |
|---|---|---|---|---|---|
| Published rules | −13.9% | −62.4% | 17 | 18% | $4,247 |
| 100-day SMA | −19.3% | −75.8% | 28 | 32% | $2,913 |
| 150-day SMA | −20.5% | −75.7% | 22 | 9% | $2,682 |
| 250-day SMA | −18.4% | −69.0% | 14 | 7% | $3,117 |
Other averaging windows
Three windows were tested in place of 200 days. A 100-day average returned -19.33% with a 75.83% drawdown, 28 trades and 9 wins, ending at $2,913. A 150-day average returned -20.49% with a 75.72% drawdown, 22 trades and 2 wins, ending at $2,682. A 250-day average returned -18.38% with a 69.05% drawdown, 14 trades and 1 win, ending at $3,117.
All three did worse than the published 200-day window, which returned -13.86%. The 100-day window made the most trades and won the most, 9 of 28, and it lost the most money after the 150-day window. The 250-day window made the fewest trades, 14, and won 1.
The shorter windows traded more and won more often. The 100-day variant won 9 of 28 trades, a better rate than the 18% of the published rule. None of that offset the larger losses. Every variant returned between -18.38% and -20.49%, so the 200-day setting was the best of the four, by a margin of several points.
The test cannot say that 200 is the right number. All four versions lost money on a fund that fell 99.38% over the period, and the differences between them are a few points of CAGR on 14 to 28 trades.
How TECS behaved
| Measure | TECS |
|---|---|
| Data in this test | 2021-01-04 to 2026-10-02 (1444 sessions) |
| Total return, buy and hold | −99.4% |
| Annualized volatility | 75.2% |
| Deepest drawdown | −99.4% (2021-01-06 to 2026-10-02) |
| Up days | 44.6% |
| Average daily range | 5.28% |
| Average overnight gap | 2.08% |
| Correlation to SPY | -0.91 |
| Correlation to QQQ | -0.97 |
| Correlation to TLT | -0.07 |
| Sessions above the 200-day average | 13.2% |
| Crossings of the 200-day average | 34 |
| Falls of 10% or more from a 20-day high | 92 |
How TECS behaved
TECS is the -3x daily inverse of the technology sector. The fund lost 99.38% across the window, which is -58.75% a year, with volatility of 75.18% and a max drawdown of 99.4% from 6 January 2021 to 2 October 2026. It rose in a single year. By calendar year it went -69.35%, 45.25%, -74.54%, -49.74%, -62.41% and, for 2026 so far, -71.1%, starting from 2021.
The fund's underlying, XLK, returned 226.13% in the same window. The fund's beta to SPY was -4.17 and its correlation with it -0.91, with a correlation of -0.97 to QQQ. The realized beta to XLK was -2.99, an R-squared of 1, so the fund followed its three-times-inverse target closely day to day. A daily-rebalanced -3x on XLK would have ended at -99.68%, close to the fund's -99.38%. The simple multiple of XLK's total return would suggest -678.38%, which is impossible for a long position, and the facts list the gap as 579 points. The compounding of daily resets explains the difference: a fund that resets every day does not deliver three times the multi-year move.
A typical day is violent: up days averaged 3.68%, down days -3.43%, and the daily range averaged 5.28%. TECS rose on 44.56% of days. The best day was 20.18% on 3 April 2025 and the worst was -39.97% on 9 April 2025. The five best days and the five worst days all fell in 2022, 2025 or 2026.
Only 13.17% of sessions closed above the 200-day average, which accounts for the rule's low exposure. A 200-day filter is a rule about a fund spending time above a long average, and a decaying fund seldom does. The 13.17% of sessions above the line produced 11.4% exposure.
RSI(14) closed under 30 on 130 sessions, and the median return that followed was -1.02% over five days and -7.95% over twenty, against all-days medians of -1.76% and -6.49%. RSI(2) under 10 on 255 sessions produced -1.77% and -7.43%. The typical 20-day move was negative whether or not the fund was oversold, which is what steady decay looks like. There were 92 episodes of a 10% decline inside 20 days, covering 952 sessions.
Other inverse funds moved with it almost one for one: REW at 0.98, QID, SQQQ and PSQ at 0.97, SDS at 0.91. The mirror images were TECL and XLK at -1.0, ROM at -0.99, then TQQQ and QLD at -0.97.
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.
Why a 200-day filter on a decaying fund
A regime filter is built on the idea that price above a long average coincides with better returns. The strategy page describes it as a first systematic strategy and simple to audit. On an index fund the rule is in the market most of the time. On TECS it was in the market 11.4% of the time, and each of those stretches began after TECS had already moved up through the average.
The rule's one strength on TECS is the cash. The 11.4% exposure meant that for five years most of the fund's decline did not touch the account. That explains the 32.81 point CAGR advantage over holding. The rule's weakness is the entry, which took the fund's rallies late. In a volatile bottom of the decline, the price crossed the line repeatedly, and the rule paid for each crossing.
Second place of 12 by CAGR is where this rule landed on TECS, at -13.86%. Only the trend with a trailing stop did better, at -11.04% with a 54.1% drawdown. Below the filter sat the momentum breakout at -18.33%, then 3-month momentum at -20.71% and the golden cross at -21.03%. Further down were the RSI(2) snapback at -26.6%, SMA 10/50 trend at -27.05%, RSI mean reversion at -29.14% and EMA 12/26 trend at -29.4%. The worst three were the weekly 7% target at -41.59%, the dip buyer at -45.31% and the monthly cycle at -55.62%.
Every rule lost money on TECS. The ranking is a ranking of how little each one lost.
Among the 11 inverse funds, TECS ranked 10th for this rule, at -13.86%, just above SOXS at -19.74%. At the top were TBF at 4.27%, PSQ at -2.33% and SPDN at -4.5%. The median for the rule across inverse funds was -7.53%, and across all 59 ETFs it was 1.84%. TECS ranked 57th of 59 funds. The filter works on funds that trend up and does little on a fund that decays by design.
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 TECS?
Over 2021-01-04 to 2026-10-02, 200-day regime filter on TECS returned −13.9% annualized vs −46.7% for buy-and-hold: it beat buy-and-hold by 32.8% per year, with a maximum drawdown 35.1 points shallower than holding (62.4% vs 97.5%).
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.
What did the 200-day filter return on TECS?
A $10,000 sleeve shrank to $4,247 over the window, -13.86% a year, after 17 round trips with an 18% win rate. Buy-and-hold ended at $271, a CAGR of -46.67%. The rule lost money and lost far less than holding.
Why did the rule lose money?
TECS crossed above its 200-day average mainly in 2022, and the rule bought into a volatile rally. Thirteen of the 17 round trips closed in 2022, with 2 wins. Winners averaged 0.66% and losers -6.14%.
Why was it in the market so little?
Only 13.17% of TECS sessions closed above the 200-day average, and exposure came to 11.4%. A -3x fund that decays through most of the window spends most of the time below the line.
Would a different average length help?
Three other windows were tested. A 100-day average returned -19.33%, a 150-day average -20.49% and a 250-day average -18.38%. All were worse than the published 200-day window at -13.86%.
Do trading costs matter here?
A little. Charging 5 basis points a fill the CAGR was -14.11% and the final value $4,175. At 10 basis points it was -14.37% and $4,104. The trades themselves caused most of the loss.
Is the 200-day filter the best rule to run on TECS?
By CAGR it was second of 12, behind the trend with a trailing stop at -11.04%. All 12 rules lost money on TECS, so the ranking only orders the losses, and it comes from a single window.
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.