200-Day SMA Regime Filter on SSO
ProShares Ultra S&P500: 2x daily leveraged S&P 500. Backtest 2021-01-04 to 2026-10-02, $10,000 starting capital, computed by the same engine that runs live DeployQuant strategies.
Owning SSO only while its price sits above the 200-day average turned $10,000 into $19,561 between 2021-01-04 and 2026-10-02. That is a CAGR of 12.4% and a total return of 95.61%. SSO, ProShares Ultra S&P500, aims for twice the daily move of the S&P 500. Holding it ended at $31,199 on 21.92% a year, so the filter gave up a good deal of return. It finished ahead of the fund in 2022 only.
The compensation was in risk. The filter's maximum drawdown was 32.46% against 46.12% for the fund, and its Sharpe ratio was 0.7 against 0.79. It closed 18 round trips and won 6, a win rate of 33%, yet the profit factor was 2.5 because winners averaged 16.43% and losers -2.98%. A nineteenth trade, entered on 2026-04-09 at an adjusted $55.54, was open at the end of the data and 27.08% higher.
The 200-day regime filter buys with 98% of the sleeve at the open when yesterday's close is above the 200-day simple average, and sells everything when yesterday's close is below it. The sleeve was invested on 63% of trading days. Among the templates on SSO the filter is seventh of 12 by CAGR, and SSO is eleventh of 59 funds for the filter. The result is dominated by two trades, one of 488 days and one of 290 days, and by a long run of small stop-and-go losses in 2022 and early 2023.
Year by year
| Year | 200-day regime filter | buy & hold |
|---|---|---|
| 2021 | 11.7% | 63.6% |
| 2022 | −25.4% | −38.5% |
| 2023 | 19.1% | 45.6% |
| 2024 | 42.7% | 42.9% |
| 2025 | 21.2% | 25.9% |
| 2026 | 14.0% | 22.4% |
Year by year
2021 returned 11.7% for the filter and 63.6% for the fund, the widest gap of the six years. The sleeve held cash from January until the first entry on 2021-10-19 at $31.74. That is nine months with no position. A 200-day average needs 200 sessions of prices, and the first entry falls about 200 sessions after the first day of the data, which is consistent with the average only becoming available then. October made 4.59% and December 8.69%.
2022 was the year the filter led, -25.4% against -38.5%. The trade from 2021-10-19 closed on 2022-01-24 at $29.21 for a 7.97% loss over 97 days, and January 2022 cost 17.48%, the worst month of the test. Then the price whipsawed around the line. The entry on 2022-02-01 at $31.82 lost 4.34% in 13 days, the entry on 2022-02-16 lost 2.91% in 2 days, the one on 2022-03-23 lost 0.51% in 1 day, and the one on 2022-03-25 lost 2.45% in 13 days. Five trades closed in 2022, none a winner. After 2022-04-07 the sleeve stayed in cash from May through December, which spared it the fund's September loss of 17.99%.
The 2022 sequence repays a closer look because it is the part of the test that the filter was built for. The fund fell from its 2022-01-03 peak, and the first trade exited at the open on 2022-01-24 at a 7.97% loss, once a close had fallen below the average. The line is then crossed in both directions several times in February and March. Each entry came after a rally that took the price back above the average, and each exit came when the rally faded. The fund's 2022 calendar return was -38.99%, and the filter's last exit of the year came on 2022-04-07, after which it took no further part in that decline.
2023 returned 19.1% against 45.6%. Seven trades closed and 3 won. The first five trades of the year, from 2023-01-27 to 2023-03-23, lost 1.17%, 3.31%, 3.13% and 1.59% and gained 2.1% over 3 days from 2023-02-24. Then the entry on 2023-03-30 at $23.84 held to 2023-10-04 at $25.43 for a 6.67% gain, and 2023-10-05 added 0.39%. The monthly table shows June at 12.42% and July at 5.96%, then a September loss of 9.67%.
The entry on 2023-11-03 at $26.50 is the trade that decided the test. It held for 488 days, the longest hold, and sold on 2025-03-05 at $43.69 for a 64.87% gain. It produced 2024 at 42.7%, a year in which the filter was within 0.2 points of the fund (42.9%). November 2023 made 10.1% and December 8.57%. The year included a drop of 8.39% in April and 5.34% in December that the trade carried through without exiting.
2025 returned 21.2% against 25.9%. The long trade sold on 2025-03-05 and the sleeve then took a run of small trades: 1.36% lost on 2025-03-06 in a day, 2.09% lost from 2025-05-14 in 8 days, and 0.2% gained over 1 day on 2025-05-28. March 2025 lost 6.82%. April 2025 was a flat month, which avoided the April low. The next entry on 2025-05-30 at $43.83 was held 290 days to 2026-03-16 at $54.50 for 24.34%.
2026 is a partial year, to early October. The filter made 14% against 22.4% for the fund. March 2026 lost 10.01%, the second-worst month, as the long trade ended and a 2-day trade on 2026-03-17 lost 4.96%. The sleeve re-entered on 2026-04-09 at $55.54, and April 2026 made 12.62%, May 10.05%.
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% | 4.6% | −1.7% | 8.7% |
| 2022 | −17.5% | −7.0% | −0.4% | −2.5% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% |
| 2023 | −1.1% | −1.3% | −2.1% | 2.6% | 0.2% | 12.4% | 6.0% | −4.0% | −9.7% | −1.9% | 10.1% | 8.6% |
| 2024 | 2.5% | 9.7% | 6.0% | −8.4% | 9.4% | 6.5% | 1.5% | 3.8% | 3.7% | −2.5% | 11.4% | −5.3% |
| 2025 | 4.7% | −3.1% | −6.8% | 0.0% | −1.4% | 9.7% | 4.0% | 3.5% | 6.5% | 4.1% | −0.2% | −0.4% |
| 2026 | 2.3% | −2.1% | −10.0% | 12.6% | 10.1% | −2.7% | −0.5% | 4.8% | −1.2% | 1.8% | – | – |
The monthly table
Nine zero months open the test, eight more run from May to December 2022, and April 2025 is the last. The sleeve was flat for all of the period in which the fund had its deepest decline, from May to October 2022, so that part of the 46.12% drawdown never touched it.
The best months were 2026-04 at 12.62%, 2023-06 at 12.42%, 2024-11 at 11.37%, 2026-05 at 10.05% and 2025-06 at 9.73%. The worst were 2022-01 at -17.48%, 2026-03 at -10.01%, 2023-09 at -9.67% and 2024-04 at -8.39%. The fund's own worst month was September 2022 at -17.99%, which the filter missed, and its best was April 2026 at 21.21%.
The January 2022 loss is the clearest case of a lagging line. The filter held a position bought on 2021-10-19 until yesterday's close fell below the average, and in a fall of that speed the signal came only after a large part of the decline was done.
Every trade
200-day regime filter on SSO made 18 closed round trips and one position still open at the end of the test, an average hold of 64 days, an average winner of 16.43%, an average loser of −2.98%, a profit factor of 2.50, a longest losing streak of 7. It held a position at the close on 63.0% of trading days.
| Entry | Entry price | Exit | Exit price | Return | Days held |
|---|---|---|---|---|---|
| 2021-10-19 | $31.74 | 2022-01-24 | $29.21 | −8.0% | 97 |
| 2022-02-01 | $31.82 | 2022-02-14 | $30.44 | −4.3% | 13 |
| 2022-02-16 | $30.88 | 2022-02-18 | $29.98 | −2.9% | 2 |
| 2022-03-23 | $31.26 | 2022-03-24 | $31.10 | −0.5% | 1 |
| 2022-03-25 | $31.83 | 2022-04-07 | $31.05 | −2.5% | 13 |
| 2023-01-27 | $24.02 | 2023-01-31 | $23.74 | −1.2% | 4 |
| 2023-02-01 | $24.19 | 2023-02-22 | $23.39 | −3.3% | 21 |
| 2023-02-24 | $22.90 | 2023-02-27 | $23.38 | 2.1% | 3 |
| 2023-03-06 | $23.97 | 2023-03-08 | $23.22 | −3.1% | 2 |
| 2023-03-22 | $23.28 | 2023-03-23 | $22.91 | −1.6% | 1 |
| 2023-03-30 | $23.84 | 2023-10-04 | $25.43 | 6.7% | 188 |
| 2023-10-05 | $25.63 | 2023-10-20 | $25.73 | 0.4% | 15 |
| 2023-11-03 | $26.50 | 2025-03-05 | $43.69 | 64.9% | 488 |
| 2025-03-06 | $43.38 | 2025-03-07 | $42.79 | −1.4% | 1 |
| 2025-05-14 | $44.05 | 2025-05-22 | $43.13 | −2.1% | 8 |
| 2025-05-28 | $44.40 | 2025-05-29 | $44.49 | 0.2% | 1 |
| 2025-05-30 | $43.83 | 2026-03-16 | $54.50 | 24.3% | 290 |
| 2026-03-17 | $55.23 | 2026-03-19 | $52.49 | −5.0% | 2 |
| 2026-04-09 | $55.54 | open | – | 27.1% | – |
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.
A few large winners and many small losses
Of the 18 closed trades, 6 were winners. The median trade lost 1.36% and the median hold was 8 days, while the average hold was 63.9 days and the longest 488. Winners averaged 16.43% and losers -2.98%. The profit factor was 2.5. The longest losing streak was 7, the longest winning streak 3, and the shortest hold was 1 day.
The winners were 64.87% from 2023-11-03, 24.34% from 2025-05-30, 6.67% from 2023-03-30, 2.1% from 2023-02-24 and 0.39% from a 15-day trade and 0.2% from a 1-day trade. The worst were 7.97% from 2021-10-19, 4.96% from 2026-03-17, 4.34% from 2022-02-01 and 3.31% from 2023-02-01. No loss exceeded 7.97%.
This is the typical profile of a trend filter: a low win rate, a median loss near 1%, and a handful of trades that make most of the money. One trade, the 64.87%, contributes more than the rest. Seven losses in a row, from the 2021-10-19 entry through the 2023-02-01 entry, mark the longest losing streak and cover the filter flipping around the line while the fund fell. By exit year, 2022 had 5 round trips with 0 wins, 2023 had 7 with 3, 2025 had 4 with 2, and 2026 had 2 with 1. There were no exits in 2021 or 2024.
SSO's ten biggest days all fell while the filter held cash
Matching the fund's extreme days to the trade list gives a clean result. The five best days were 18.78% on 2025-04-09, 11.02% on 2022-11-10, 6.56% on 2025-05-12, 6.28% on 2022-06-24 and 6.2% on 2022-10-04. The five worst were -11.86% on 2025-04-04, -9.57% on 2025-04-03, -8.7% on 2022-09-13, -7.97% on 2022-05-18 and -7.61% on 2022-06-13. The filter was in cash on every one of the ten. The 2022 days sit inside the stretch from the 2022-04-07 exit to the 2023-01-27 entry, and the 2025 days sit between the 2025-03-07 exit and the 2025-05-14 entry.
The filter missed the 18.78% rebound of April 2025 and the 11.02% day of November 2022, and it also missed the -11.86% and -9.57% drops of the first week of April 2025 and the -8.7% day of September 2022. A rule keyed to a 200-day line sat out both the violent part of the crash and the first part of the recovery.
The long trades tell the same story from the other side. The 488-day trade from 2023-11-03 ran through the drops of April 2024 at -8.39% and December 2024 at -5.34% in the monthly table without an exit, because the close never fell below the average. The 290-day trade from 2025-05-30 ended on 2026-03-16 at 54.5, and March 2026 then lost 10.01% in the account, the second worst month, with the short 2026-03-17 trade losing a further 4.96%.
Largest drawdowns
| Peak | Low point | Depth | Days to low | Recovered | Days to recover |
|---|---|---|---|---|---|
| 2022-01-03 | 2023-03-22 | −32.5% | 443 | 2024-03-01 | 345 |
| 2024-07-16 | 2024-08-05 | −16.4% | 20 | 2024-09-19 | 45 |
| 2025-02-19 | 2025-05-28 | −15.6% | 98 | 2025-08-12 | 76 |
Buy-and-hold's deepest drawdown ran from 2022-01-03 to 2022-10-12 and reached −46.1%.
Drawdowns
The deepest drawdown was 32.46%, from a peak on 2022-01-03 to a low on 2023-03-22, 443 days later. It recovered on 2024-03-01, 345 days after the low. The fund peaked on the same day, fell 46.12% to 2022-10-12 and recovered on the same date, 2024-03-01. The filter's low came five months after the fund's, since the 2023 trades kept losing small amounts while the fund was already higher.
The second drawdown was 16.45% over 20 days from 2024-07-16 to 2024-08-05, recovered in 45 days. The third was 15.58% from 2025-02-19 to 2025-05-28, recovered on 2025-08-12. The fund had a 34.9% drawdown from 2025-02-19 to 2025-04-08, and an 18.03% one from 2026-01-12 to 2026-03-30. For the 2025 episode the filter's 15.58% compares with 34.9% for the fund.
A drawdown of 32.46% is large for a filter whose purpose is to avoid bear markets, and it is the main limit of this result. The 2x leverage explains part of it. The filter was long when the fall began, and the 17.48% loss in January 2022 is the largest single piece of the drawdown.
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) | 12.4% | −32.5% | $19,561 | 0.70 |
| 5 basis points | 12.1% | −33.1% | $19,238 | 0.68 |
| 10 basis points | 11.7% | −33.7% | $18,879 | 0.67 |
Slippage
With 5 basis points of slippage on each fill the CAGR was 12.07% and the final value $19,238. With 10 basis points it was 11.7% and $18,879. The drawdown widened to 33.07% and 33.68%, and the Sharpe ratio fell to 0.681 and 0.665.
The filter made 37 fills over the window, so it pays the charge far less often than a short-term rule. SSO traded about $233,922,508 a day on average with a median minute volume of 7,870 shares, so a $10,000 sleeve is small against that volume. The cost runs apply one flat charge to every fill, and the headline run applies none. Several of the 2022 and 2023 losses were round trips of 1 to 4 days, and those are where a real spread would cost the most.
Changing the parameters
| Version | CAGR | Max drawdown | Round trips | Win rate | Final value |
|---|---|---|---|---|---|
| Published rules | 12.4% | −32.5% | 18 | 33% | $19,561 |
| 100-day SMA | 7.5% | −42.1% | 25 | 28% | $15,152 |
| 150-day SMA | 7.9% | −44.9% | 25 | 32% | $15,462 |
| 250-day SMA | 10.8% | −24.9% | 12 | 42% | $17,993 |
Other averages
Three averages were tested in place of the 200-day. The 100-day average returned 7.51% with a 42.06% drawdown over 25 trades and 7 wins. The 150-day returned 7.89% with a 44.91% drawdown over 25 trades and 8 wins. The 250-day returned 10.77% with a 24.93% drawdown over 12 trades and 5 wins.
The slower average had the shallowest drawdown of the four, 24.93%, and the faster ones the deepest. A faster average did not protect more here. The 100-day and 150-day runs each made 25 trades against 18 for the 200-day, which fits more whipsaws, and each ended with a drawdown above 40%. The published 200-day returned more than all three alternatives.
The 250-day variant lost less in depth, but it also made 10.77% against 12.4%, so it traded some return for protection in this window. Each variant is one run on one fund, and 12 trades is a short record.
How SSO behaved
| Measure | SSO |
|---|---|
| Data in this test | 2021-01-04 to 2026-10-02 (1444 sessions) |
| Total return, buy and hold | 227.7% |
| Annualized volatility | 32.9% |
| Deepest drawdown | −46.8% (2022-01-03 to 2022-10-12) |
| Up days | 53.6% |
| Average daily range | 2.28% |
| Average overnight gap | 0.87% |
| Correlation to SPY | 1.00 |
| Correlation to QQQ | 0.94 |
| Correlation to TLT | 0.08 |
| Sessions above the 200-day average | 73.2% |
| Crossings of the 200-day average | 36 |
| Falls of 10% or more from a 20-day high | 32 |
How SSO behaved
SSO returned 227.67% with a CAGR of 22.96% and annualized volatility of 32.85%. Its realized beta to SPY was 2 with R-squared of 1. Twice SPY's total return of 125.29% would be 250.58%, and the fund returned less, a shortfall of 22.91 points over the window. The 2022 fall was -38.99% against SPY's -18.16%.
Up days were 53.64% of sessions, with an average gain of 1.47% and an average loss of 1.49%. The average range was 2.28% and the overnight gap 0.87%. The overnight share of the log return was 55.65% and the intraday share 44.35%.
The fund closed above its 200-day average on 73.17% of sessions and crossed it 36 times. That count is the potential for whipsaw. The filter made 19 entries against 36 crossings of the line, so not every crossing became a trade. Best days were 18.78% on 2025-04-09 and 11.02% on 2022-11-10, and the worst were -11.86% on 2025-04-04 and -9.57% on 2025-04-03. The filter held cash on 2025-04-09 and on 2022-11-10, and on both of the April 2025 sell-off days. The data counts 32 falls of 10% or more from a 20-day high, over 174 days.
Leverage adds a second layer to the story. SSO's year-by-year shortfall against twice SPY's return was a gain of 4.12 points in 2021, then a loss each year after: 2.67 points in 2022, 5.76 in 2023, 6.17 in 2024, 9.28 in 2025 and 4.98 in 2026. The fund's compounding is path dependent, and a filter that is in and out of the fund changes which stretches of the path it takes. The filter's 2024 return of 42.7% matched the fund's 42.9% because it was invested through that whole year, and the matching figure for 2025, 21.2% against 25.9%, shows the cost of the March exit and the April flat month.
In calendar months SSO averaged 7.58% in November and 5.75% in July, and lost 4.74% in September, from 5 or 6 observations each.
Oversold readings and calendar averages on SSO
SSO gave mean-reversion rules more to work with than most funds. RSI(14) fell below 30 on 21 sessions, and the median 5-day return afterward was 7.08% against a baseline of 0.72%. The 20-day median was 7.01% against 2.91%. RSI(2) fell below 10 on 154 sessions, with medians of 1.57% over 5 days and 3.93% over 20. Those figures are why the RSI(2) snapback led the same-fund table at 24.56% while the trend filter, which cannot buy a washout until the price recovers over its average, finished seventh.
Calendar averages across five or six years each put November at 7.58%, July at 5.75%, May at 5.46% and October at 5.34%, with September at -4.74% and February at -0.34%. The filter's own table has June 2023 at 12.42% and November 2024 at 11.37% next to September 2023 at -9.67%. The weekday averages are small, with Monday at 0.26% and Wednesday at 0.15%.
The leverage figures add one more point. The fund returned 65.04% in 2021 against a nominal 60.93%, so the daily reset helped in a year with a straight rise. In every later year the fund fell short of twice SPY's return, and the largest shortfall was 9.28 points in 2025. The filter returned 12.4% a year on this 2x fund, against 21.92% for holding.
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.
The filter on SSO and on the other leveraged funds
The filter's median CAGR across the 59 funds was 1.84% and across the leveraged group 12.4%, which is where SSO sits exactly. Among the ten leveraged funds, TQQQ returned 24.95% with a 36.54% drawdown, SOXL 23.44% with 76.74%, QLD 21.57% with 28.75% and ROM 17.99%. SSO was fifth at 12.4%, ahead of TECL at 11.53% and SPUU at 10.54%. FAS, UST and TMF lost 2.74%, 6.68% and 10.5%.
On SSO the RSI(2) snapback made 24.56%, the weekly 7% target 21.27%, the monthly cycle 18.8%, the EMA 12/26 trend 17.3% with a 22.87% drawdown, the momentum breakout 15.43% with 24.12%, and the dip buyer 12.96%. The filter at 12.4% ranked seventh, ahead of the trend plus trailing stop at 11.43%, the golden cross at 8.92% and the 3-month momentum at 8.63%.
The test stops at 5.74 years, a single fund, daily decisions and no margin. The first nine months of 2021 are flat, so the effective test is shorter than the stated window. The headline run has no costs.
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 SSO?
Over 2021-01-04 to 2026-10-02, 200-day regime filter on SSO returned 12.4% annualized vs 21.9% for buy-and-hold: it trailed buy-and-hold by 9.5% per year, with a maximum drawdown 13.7 points shallower than holding (32.5% vs 46.1%).
How many trades did it make?
18 completed round trips over 5.7 years (37 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 filter beat buy-and-hold on SSO?
No. It returned 12.4% a year against 21.92% for holding, and ended at $19,561 against $31,199. It was ahead only in 2022, at -25.4% against -38.5%. Its maximum drawdown was 32.46% against 46.12%.
Why was the filter out of SSO until October 2021?
The first entry was on 2021-10-19. The 200-day average needs 200 sessions of prices, and that date falls about 200 sessions after the data starts on 2021-01-04, so the filter had no signal before then. The 2021 figure of 11.7% reflects that.
What was the best trade?
An entry on 2023-11-03 at $26.50 held for 488 days and sold on 2025-03-05 at $43.69 for a 64.87% gain. The next best was 24.34% from 2025-05-30 to 2026-03-16.
Why was the win rate only 33%?
The price crossed the line several times in 2022 and early 2023, and each flip produced a small loss. Winners averaged 16.43% and losers -2.98%. The profit factor was 2.5.
Does a different moving average work better on SSO?
The 250-day average returned 10.77% with a 24.93% drawdown. The 100-day returned 7.51% with 42.06% and the 150-day 7.89% with 44.91%. The published 200-day returned 12.4%. Each is a single run.
How much did trading costs matter?
With 5 basis points per fill the CAGR was 12.07% and with 10 basis points 11.7%, against 12.4% with no costs. The filter made only 37 fills.
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.