200-Day SMA Regime Filter on SPDN
Direxion Daily S&P 500 Bear 1X Shares: Direxion's -1x daily S&P 500 fund. 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 on SPDN lost money. SPDN is the Direxion Daily S&P 500 Bear 1X Shares, built to move against the S&P 500 day by day. The filter holds the fund after any session that closes over its 200-day average and sits in cash after any other close. Between 2021-01-04 and 2026-10-02 the $10,000 account ended at $7,679.12, a total return of -23.21%, a CAGR of -4.5% and a Sharpe ratio of -0.34, with a maximum drawdown of 29.62%.
The trade record is poor. There were 24 round trips and 48 fills, with 4 winners for a 17% win rate. The average win was 0.85%, the average loss was -1.5% and the profit factor was 0.11. Exposure was 19.5% and the average hold was 17 days.
Buy and hold on SPDN was far worse. It lost 44.25% for a CAGR of -9.68% and ended at $5,575.47, with a drawdown of 46.16% that began on the first day and never recovered. The filter beat holding by 5.18% a year and finished $2,103.65 ahead, with a drawdown 16.54 points shallower. Beating a falling fund and making money are different results, and here only the first happened. Every template on this fund is ranked on the SPDN page, and the strategy hub carries the filter across all 59 funds.
Year by year
| Year | 200-day regime filter | buy & hold |
|---|---|---|
| 2021 | 0.0% | −24.3% |
| 2022 | −13.6% | 18.2% |
| 2023 | −9.0% | −14.7% |
| 2024 | 0.0% | −12.6% |
| 2025 | −1.7% | −10.7% |
| 2026 | −0.7% | −8.1% |
The years with no trades and the sign of the decay gap
No trade closed in 2021 or 2024. In 2021 the fund returned -24.82% and in 2024 -12.91%, and the filter held cash through both. The last trade of 2023 exited on 2023-11-13 and the next entry came on 2025-03-04, so the account sat out 2024 and the first two months of 2025.
The leverage table shows how the fund's daily reset behaved in each year. A straight -1x of SPY would have given -30.46% in 2021, -26.18% in 2023, -24.86% in 2024, -17.72% in 2025 and -13.77% in 2026. SPDN lost less each time, at -24.82%, -15.05%, -12.91%, -11.01% and -8.37%. The gap was 11.95 points in 2024 and 11.13 in 2023. In 2022 SPY fell 18.16% and the fund rose 18.72%, a gap of 0.56 points. The daily reset helped a holder in rising years compared with a flat -1x position, yet the fund still lost money each of those years.
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.2% | −0.4% | −3.0% | 1.9% | −0.8% | 8.1% | −8.3% | −2.8% | 9.9% | −7.5% | −6.4% | −3.4% |
| 2023 | −4.9% | 0.0% | −1.6% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | −0.8% | 2.9% | −4.8% | 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% | 3.5% | −0.4% | −4.7% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% |
| 2026 | 0.0% | 0.0% | 2.9% | −3.5% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | – | – |
Every trade
200-day regime filter on SPDN made 24 closed round trips, an average hold of 17 days, an average winner of 0.85%, an average loser of −1.50%, a profit factor of 0.11, a longest losing streak of 7. It held a position at the close on 19.5% of trading days.
| Entry | Entry price | Exit | Exit price | Return | Days held |
|---|---|---|---|---|---|
| 2022-01-26 | $12.64 | 2022-01-31 | $12.62 | −0.2% | 5 |
| 2022-02-22 | $12.84 | 2022-02-28 | $12.79 | −0.4% | 6 |
| 2022-03-01 | $12.72 | 2022-03-03 | $12.57 | −1.2% | 2 |
| 2022-03-04 | $12.81 | 2022-03-18 | $12.57 | −1.9% | 14 |
| 2022-04-13 | $12.54 | 2022-04-14 | $12.38 | −1.3% | 1 |
| 2022-04-18 | $12.55 | 2022-04-20 | $12.28 | −2.1% | 2 |
| 2022-04-22 | $12.58 | 2022-08-15 | $12.67 | 0.7% | 115 |
| 2022-08-23 | $13.04 | 2022-08-26 | $12.83 | −1.6% | 3 |
| 2022-08-29 | $13.38 | 2022-11-14 | $13.43 | 0.4% | 77 |
| 2022-11-15 | $13.27 | 2022-11-16 | $13.43 | 1.2% | 1 |
| 2022-11-17 | $13.64 | 2022-11-23 | $13.35 | −2.1% | 6 |
| 2022-11-29 | $13.48 | 2022-12-01 | $13.07 | −3.0% | 2 |
| 2022-12-07 | $13.58 | 2022-12-13 | $13.02 | −4.1% | 6 |
| 2022-12-16 | $13.82 | 2023-01-12 | $13.47 | −2.5% | 27 |
| 2023-01-19 | $13.72 | 2023-01-23 | $13.50 | −1.6% | 4 |
| 2023-03-10 | $13.81 | 2023-03-17 | $13.66 | −1.1% | 7 |
| 2023-03-20 | $13.74 | 2023-03-21 | $13.52 | −1.6% | 1 |
| 2023-03-23 | $13.59 | 2023-03-24 | $13.74 | 1.1% | 1 |
| 2023-09-27 | $13.02 | 2023-09-29 | $12.91 | −0.8% | 2 |
| 2023-10-02 | $13.06 | 2023-10-09 | $13.03 | −0.2% | 7 |
| 2023-10-19 | $12.96 | 2023-11-06 | $12.84 | −0.9% | 18 |
| 2023-11-10 | $12.86 | 2023-11-13 | $12.75 | −0.9% | 3 |
| 2025-03-04 | $10.56 | 2025-05-13 | $10.38 | −1.7% | 70 |
| 2026-03-13 | $9.45 | 2026-04-09 | $9.38 | −0.7% | 27 |
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.
Three trades held through all ten extreme days
SPDN's five best days and five worst days all fell inside three of the rule's 24 trades. The trade from 2022-04-22 to 2022-08-15, a 115-day hold, was open on 2022-05-18 (3.97%), 2022-06-13 (3.81%) and 2022-06-24 (-3.16%). The trade from 2022-08-29 to 2022-11-14, 77 days, was open on 2022-09-13 (4.27%), 2022-10-04 (-3.08%) and 2022-11-10 (-5.4%). The trade from 2025-03-04 to 2025-05-13, 70 days, was open on 2025-04-03 (4.89%), 2025-04-04 (5.99%), 2025-04-09 (-9.38%) and 2025-05-12 (-3.26%).
Those three trades returned 0.72%, 0.37% and -1.7%. The big up days and big down days netted out to almost nothing over each hold, and the rule collected neither a rally nor a decline. The other 21 trades held through no day of that size, and most of them lasted a week or less.
These were the three longest holds of the test. The slow line kept the account in a position through large days on both sides, and the net result of each hold was small.
Largest drawdowns
| Peak | Low point | Depth | Days to low | Recovered | Days to recover |
|---|---|---|---|---|---|
| 2022-06-17 | 2026-04-08 | −29.6% | 1391 | not yet | – |
| 2022-02-23 | 2022-04-20 | −8.7% | 56 | 2022-05-11 | 21 |
| 2022-05-20 | 2022-06-02 | −6.7% | 13 | 2022-06-13 | 11 |
Buy-and-hold's deepest drawdown ran from 2021-01-04 to 2026-08-13 and reached −46.2%.
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) | −4.5% | −29.6% | $7,679 | -0.34 |
| 5 basis points | −4.9% | −30.8% | $7,499 | -0.38 |
| 10 basis points | −5.3% | −31.9% | $7,325 | -0.41 |
Changing the parameters
| Version | CAGR | Max drawdown | Round trips | Win rate | Final value |
|---|---|---|---|---|---|
| Published rules | −4.5% | −29.6% | 24 | 17% | $7,679 |
| 100-day SMA | −4.3% | −32.1% | 29 | 17% | $7,772 |
| 150-day SMA | −3.9% | −24.8% | 22 | 14% | $7,957 |
| 250-day SMA | −3.0% | −21.1% | 14 | 29% | $8,405 |
How SPDN behaved
| Measure | SPDN |
|---|---|
| Data in this test | 2021-01-04 to 2026-10-02 (1444 sessions) |
| Total return, buy and hold | −46.2% |
| Annualized volatility | 16.4% |
| Deepest drawdown | −47.1% (2021-01-04 to 2026-08-13) |
| Up days | 45.6% |
| Average daily range | 1.14% |
| Average overnight gap | 0.44% |
| Correlation to SPY | -1.00 |
| Correlation to QQQ | -0.94 |
| Correlation to TLT | -0.08 |
| Sessions above the 200-day average | 22.6% |
| Crossings of the 200-day average | 48 |
| Falls of 10% or more from a 20-day high | 7 |
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.
Short-horizon signals on SPDN
RSI(2) fell below 10 on 238 sessions. The median fund return five days later was -0.25% against a baseline of -0.31%, and 20 days later it was -1.3% against -1.28%. Oversold readings on SPDN matched the average session. RSI(14) fell below 30 on 70 sessions with a 5-day median of 0.19%.
Weekday averages for the fund were Monday -0.11%, Wednesday -0.06%, Friday -0.03%, Tuesday -0.01% and Thursday 0.01%. By calendar month, September averaged 2.87%, while May averaged -2.55%, July -2.49% and October -2.4%. The filter's own results for those months are in the monthly table, where it lost 8.33% in July 2022 and 7.54% in October 2022 and made 9.86% in September 2022.
Cash in two years and a bad run in two more
The filter returned 0% in 2021 and 2024, -13.6% in 2022, -9% in 2023, -1.7% in 2025 and -0.7% in 2026 to date. SPDN on a buy-and-hold basis returned -24.3%, 18.2%, -14.7%, -12.6%, -10.7% and -8.1%. The filter finished ahead in five of the six years. It led by 24.3 points in 2021, 5.7 in 2023, 12.6 in 2024, 9 in 2025 and 7.4 in 2026. Only 2022 went the other way, with the filter behind by 31.8 points.
The rule never bought in the two zero years. SPDN was falling through 2021 and most of 2024, so it stayed below its 200-day line and the rule stayed in cash. That is the filter doing what it was built to do. It also means the rule only gets a chance when the fund is already in an uptrend, which for an inverse fund means the S&P 500 has already been falling for months.
The 2022 column is the one where an inverse fund looked ideal for the rule, and the result went the other way. The fund rose 18.2% as the index fell, and the filter lost 13.6%. The 2022 tally was thirteen closed round trips with 3 wins. The rule kept buying, selling when the close crossed back under the line, and buying again. Each cycle lost a little, and the total was larger than the fund's gain would suggest. In 2023 the same pattern repeated across 9 trades with 1 win, for a loss of 9%.
After 2023 only two more trades closed, one in 2025 and one in 2026, and both lost.
Where the losses and the one big gain came from
The best month was September 2022 at 9.86%, which is slightly better than buy and hold's own best month in that same month at 9.83%. The worst was July 2022 at -8.33%. Other large losing months were October 2022 at -7.54%, November 2022 at -6.39% and January 2023 at -4.89%. The rule's gains outside September 2022 were June 2022 at 8.11%, October 2023 at 2.94%, April 2022 at 1.93%, March 2025 at 3.52% and March 2026 at 2.85%.
June and July 2022 sit next to each other and show the cost of a lagging rule. June returned 8.11% as the index fell, and July lost 8.33% as the index rallied while the rule was still long. A 200-day average moves slowly, so the signal to leave arrives after the reversal has already taken back much of the gain.
September 2022 returned 9.86%, then October took back 7.54% and November another 6.39%. Those three months alone show the rule giving back most of the best month of the test within two months. By the end of 2022 the cumulative result for the year was -13.6%.
The fund's own sample averages show where the index tended to fall: September averaged 2.87% for SPDN, November -3.48% and May -2.55%. These come from 5 or 6 observations per month. They describe a window in which the broad market rose in most years.
Twenty-four trades, most of them short and small
Median trade: a 1.09% loss over 6 days. Holds ranged from 1 day to 115 days. At best the rule won 2 trades running, and at worst it lost 7 running. All four winners were small: 1.21% from 2022-11-15 to 2022-11-16, 1.1% from 2023-03-23 to 2023-03-24, 0.72% from 2022-04-22 to 2022-08-15 and 0.37% from 2022-08-29 to 2022-11-14. The first two lasted a single day.
The worst trade was entered on 2022-12-07 at 13.58 and exited on 2022-12-13 at 13.02, a loss of 4.12% in 6 days. Next came 2022-11-29 to 2022-12-01 at -3.04%, 2022-12-16 to 2023-01-12 at -2.53%, 2022-04-18 to 2022-04-20 at -2.15% and 2022-11-17 to 2022-11-23 at -2.13%. The prices are adjusted for splits and dividends. Trade one was a small loss, from 2022-01-26 at 12.64 to 2022-01-31 at 12.62. The last bought on 2026-03-13 at 9.451 and sold on 2026-04-09 at 9.383 for -0.72%.
Late 2022 shows the template's own caveat in action: price whips around the 200-day line and the rule fires clusters of buy and sell pairs. Between 2022-11-15 and 2022-12-16 the rule opened five positions. One trade gained 1.21% in a day, and the other four lost between 2.13% and 4.12%. Each cross of the average cost money.
A winning trade for this rule needs a sustained move. The longest hold of 115 days, from 2022-04-22 to 2022-08-15, earned only 0.72%. The fund drifted sideways and then fell back to the entry price level, so even the longest hold produced a small result.
A drawdown that lasted until the end
The largest drawdown, 29.62%, started at the peak on 2022-06-17 and reached its trough on 2026-04-08, 1,391 days later. It never recovered. The rule made its high in June 2022 and spent the next four years slowly giving it back, with losing trades in late 2022, early 2023, autumn 2023, 2025 and 2026. The second drawdown was 8.72%, from 2022-02-23 to 2022-04-20, recovering on 2022-05-11 after 21 days. The third was 6.74%, from 2022-05-20 to 2022-06-02, recovering on 2022-06-13 in 11 days.
Holding the fund produced one drawdown of 46.16% that began on 2021-01-04 and ran to 2026-08-13 across 2,047 days with no recovery. The fund series itself gives -47.11% for those dates. Cash for most of the window kept the rule's figure far smaller, though 29.62% remains large for an account that is out of the market most days.
The 29.62% number deserves a second look. It comes from a handful of days in 2022, when the account peaked after the June gain and then lost on repeated whipsaw trades. A rule with 19.5% exposure took a drawdown close to a third of equity because each of its trades was a full-size position of 98% of the sleeve. Losses of 2% to 4% per trade, repeated, compound quickly.
Friction on top of a losing rule
With no slippage the CAGR was -4.5%, the drawdown 29.62%, the Sharpe ratio -0.34 and the final value $7,679.12. Charging 5 basis points per fill gave a CAGR of -4.89%, a drawdown of 30.8%, the Sharpe ratio -0.378 and the final value $7,499.37. At 10 basis points the CAGR was -5.28%, the drawdown 31.95%, the Sharpe ratio -0.414 and the final value $7,324.86.
The cost runs worsen a result that was already negative. Many of the trades last a day or two, so a fill on each side adds up. SPDN averages $113,208,638 of daily dollar volume and a median of 4,782 shares a minute, enough depth for an account this size. The cost runs assume a flat friction and do not measure the fund's real spread.
Slower averages lost less
Three variants changed the window. A 100-day average returned a CAGR of -4.3%, a drawdown of 32.06%, a final value of $7,771.64 and a Sharpe ratio of -0.315 over 29 trades with 5 wins. A 150-day average returned -3.9%, 24.79%, $7,956.74 and -0.293 over 22 trades with 3 wins. A 250-day average returned -2.98%, 21.06%, $8,405.05 and -0.21 over 14 trades with 4 wins.
The ordering follows the window length. The longer the average, the fewer the trades, the shallower the drawdown and the smaller the loss. The 250-day version made 14 trades against 29 for the 100-day version and had a drawdown of 21.06% against 32.06%. A slower average whipsaws less because price takes longer to cross it. The published 200-day setting at -4.5% sits between the 150-day and 100-day results.
None of the versions made money. The best of them still lost 2.98% a year. The improvement from lengthening the window is a reduction of loss and not a profit, and it applies to this window only. It tells us that the problem is the pairing of a trend filter with an inverse fund over a period when the index mostly rose.
What SPDN did over the window
Over 1,444 sessions SPDN returned -46.16%, a CAGR of -10.22%, with annualized volatility of 16.43%. Up days made up 45.6% of the sample, at an average of 0.77% against -0.77% on down days. The typical intraday range was 1.14% and the typical overnight gap 0.44%. Beta to SPY came out at -1, and so did correlation.
The leverage table shows what an inverse fund does over a long rising period. SPY returned 125.29% over the window. Minus one times that return would be -125.29%, which cannot happen to a fund that cannot lose more than everything, and a daily-rebalanced inverse of SPY would have returned -61.98%. SPDN returned -46.16%. The fund tracked its daily target and still lost nearly half its value, because compounding a daily inverse through a rising market with swings loses more than the index's own gain would suggest. The decay gap in the facts was 79.13 percentage points.
By year, SPDN lost 24.82% in 2021 when SPY gained 30.46%, gained 18.72% in 2022 when SPY lost 18.16%, lost 15.05% in 2023, 12.91% in 2024, 11.01% in 2025 and 8.37% in 2026 so far. The only gain was a bear-market year.
SPDN closed over its 200-day average on 22.57% of sessions and crossed the line 48 times. For this rule that crossing count matters most, since 48 crossings in 5.74 years means many entries and exits. There were 7 events of a 10% fall inside 20 sessions, covering 23 days, and sharp reversals like those stop out a position bought after a rally. Following a 14-day RSI under 30, the median 20-day forward return was -0.32% where the baseline was -1.28%.
A trend filter on an inverse fund
Entry happens at the open with 98% of the sleeve once the prior close finishes over the 200-day average, and exit sells the lot after a close under it. The template describes this as one rule and one number that make every trade easy to audit. On an index fund that sits above its average most of the time the filter makes few changes. On an inverse fund that sits above its average 22.57% of the time and crosses it often, it trades short and loses.
Among inverse funds, only TBF made money for this filter, at 4.27% over 27 round trips. PSQ lost 2.33% a year. SPDN's -4.5% is next in line, with SH at -4.87%, EEV at -5.6% and SDS at -7.53% behind it. The leveraged inverse group fared worst: QID lost 10.46%, SQQQ 10.51%, REW 12.99%, TECS 13.86%, and SOXS 19.74% with a 72.5% drawdown. The category median was -7.53% and the median over all 59 funds was 1.84%. SPDN placed 45th of 59.
Within the 12 templates on SPDN the filter lands eighth. Losing least was the RSI(2) snapback at 1.45% a year. Next came the dip buyer with 1.73%, the momentum breakout with 2.21%, the golden cross with 2.26% and the SMA 10/50 trend with 2.61%. Two more lost less than the filter did: the EMA 12/26 trend at 3.78% and the RSI mean reversion at 3.97%. Four lost more: 3-month momentum at 4.82%, the trend with a trailing stop at 7.22%, the monthly cycle at 8.63% and the weekly 7% target at 9.04%, the last with a 45.18% drawdown. All twelve templates lost money on SPDN, so the ranking orders them by size of loss.
Where the test stops
The 5.74-year window had the S&P 500 rising far more than falling. A longer bear market would test an inverse fund and a trend filter differently. The result of -4.5% comes from 24 trades, 13 of them in 2022, and a different start date would change which crossings are counted. Headline figures carry no fees or slippage. The results are hypothetical, with no forecast and no advice implied.
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 SPDN?
Over 2021-01-04 to 2026-10-02, 200-day regime filter on SPDN returned −4.5% annualized vs −9.7% for buy-and-hold: it beat buy-and-hold by 5.2% per year, with a maximum drawdown 16.5 points shallower than holding (29.6% vs 46.2%).
How many trades did it make?
24 completed round trips over 5.7 years (48 fills), with 17% 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 SPDN?
It lost money, with a CAGR of -4.5% and a final value of $7,679.12 from $10,000. The maximum drawdown was 29.62% and 4 of 24 round trips won. Buy and hold on SPDN lost 44.25%.
Why does a trend filter lose on an inverse fund?
SPDN sat under its 200-day average for most of the window and crossed it 48 times. Each cross produced a short trade that tended to reverse. The profit factor was 0.11 and the median trade lost 1.09% over 6 days.
Why was 2022 the worst year for the rule?
The fund rose 18.2% that year and the filter lost 13.6%. Thirteen round trips closed in 2022 and 3 won. The close kept crossing the 200-day line and each crossing cost money.
Would a longer moving average have helped?
A 250-day average returned -2.98% over 14 trades with a drawdown of 21.06%, and a 150-day average returned -3.9%. A 100-day average returned -4.3%. Longer windows lost less, and none made a profit.
Was the filter ahead of buy and hold on SPDN?
Yes, by 5.18% a year, since buy and hold lost 44.25% while the rule sat in cash for most of the window. It led in five of six calendar years and trailed in 2022 by 31.8 points.
How much did trading costs change the SPDN result?
The CAGR was -4.89% with 5 basis points per fill and -5.28% with 10. The final values were $7,499.37 and $7,324.86. The rule makes 48 fills and many of its trades last a day or two.
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.