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

200-Day SMA Regime Filter on UST

ProShares Ultra 7-10 Year Treasury: 2x daily leveraged intermediate Treasuries. 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 UST turned $10,000 into $6,722 (−32.8% total, −6.7% CAGR): it beat buy-and-hold by 1.8% per year, with a maximum drawdown 8.9 points shallower than holding (35.6% vs 44.5%).

One line decides everything in the 200-day regime filter: yesterday's close against the 200-day average. Above it, the rule buys at the open with 98% of the sleeve. Below it, the rule sells everything. UST, the ProShares Ultra 7-10 Year Treasury fund, aims at twice the daily move of intermediate Treasuries. Across 2021-01-04 to 2026-10-02 the filter took $10,000 down to $6,722, a CAGR of -6.68% and a total return of -32.78%. A holder was left with $6,001, a CAGR of -8.51%.

The filter beat holding by 1.83 CAGR points, and the edge came from 2022, a year it spent entirely in cash. Its record is mostly small, short losses. It closed 34 round trips and 7 won, a win rate of 21%. Winners averaged 1.11% and losers averaged -1.76%, so the profit factor was 0.14. The best trade returned 3.47% and the worst lost 5.88%. The average hold was 18.7 days, and the account was invested on 30.7% of days. The Sharpe ratio was -0.91 against -0.55 for holding, so the rule's risk-adjusted result was worse even though its drawdown was shallower. Max drawdown was 35.65% against 44.51%.

Measured by CAGR the filter holds 9th place among 12 strategies on UST, and UST holds 48th place among 59 funds for this rule. Everything here is hypothetical and comes from a single 5.74-year stretch, and the headline run charged no fees.

−6.7%CAGR
−8.5%buy & hold CAGR
−35.6%max drawdown
-0.91Sharpe ratio
34round trips
21%win rate
■ 200-day regime filter   ■ buy & hold, $10,000 invested 2021-01-04

Year by year

Year200-day regime filterbuy & hold
2021−2.6%−7.7%
20220.0%−29.6%
2023−12.3%0.4%
2024−12.8%−7.3%
2025−7.7%11.4%
2026−2.3%−11.3%

Calendar years, rule against fund

The filter returned -2.6% in 2021, 0% in 2022, -12.3% in 2023, -12.8% in 2024, -7.7% in 2025 and -2.3% in 2026 to date. The fund held outright returned -7.7%, -29.6%, 0.4%, -7.3%, 11.4% and -11.3% over the same years. The filter led by 5.1 points in 2021, 29.6 in 2022 and 9 in 2026. It trailed by 12.7 points in 2023, 5.5 in 2024 and 19.1 in 2025.

2022 is the whole story of the lead. UST fell 30.3% in the calendar year by its own profile, and the filter returned exactly 0% because it never held a position. The monthly table shows zeros for every month of the year. The entry condition, a close above the average, never came true during 2022. The same held from January to October 2021: the first trade came on 2021-11-08 at 59.82, and it ended a day later at a gain of 0.48%.

2023 is where the filter turned costly. UST finished the year up 0.4% in the test and 0.36% by its own profile, and the filter lost 12.3%. March 2023 lost 6.18%, April lost 1.45% and May lost 5.83%. Those months contain six trades, none of which won. Price crossed above the average, the rule bought, and price crossed back below it within days or weeks. The entry on 2023-05-03 at 44.7 held 16 days and sold at 42.41 for -5.12%.

2024 carried the most trades, 12 round trips exiting in the year, with 3 wins. The year lost 12.8% against 7.3% for holding. Monthly results show a long run of small losses from January to June, then three positive months in July, August and September at 3.14%, 2.48% and 1.77%, then October at -7.03%. Most of the 2024 trades lasted a day to three weeks, and the one long position, from 2024-07-05 at 39.34 to 2024-10-29 at 39.61, returned 0.69% over 116 days.

2025 cost the filter the most against the fund. UST returned 11.4% for the year, and the filter lost 7.7%. The first trade of the year, entered on 2025-02-26 at 40.12, was sold on 2025-03-25 at 37.76 for -5.88%, the worst of the window, and March 2025 was the worst month at -8.32%. Three more short trades through April and early May included a loss of 4.07%. The 3.47% winner came when it entered on 2025-06-12 at 40.66 and held until 2026-03-23, 284 days later. The 2026 figure of -2.3% covers part of the year.

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.8%−1.7%
20220.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%
20230.0%0.0%−6.2%−1.4%−5.8%0.0%0.0%0.0%0.0%0.0%0.0%0.8%
2024−1.3%−4.2%−1.0%−2.4%−0.6%−2.7%3.1%2.5%1.8%−7.0%−0.1%−1.2%
20250.0%1.5%−8.3%−1.4%−2.5%0.3%−1.6%3.0%0.8%1.0%1.6%−2.0%
2026−0.5%4.4%−5.3%−0.7%0.0%0.0%0.0%0.0%0.0%0.0%––

Mostly zeros, then losses

The best month for the filter was February 2026 at 4.38%, and the worst was March 2025 at -8.32%. For a holder the best month was November 2023 at 8% and the worst was September 2022 at -9.66%. The filter had no position in either one. In November 2023 it sat in cash and missed the fund's best month of the window.

The table shows two long idle stretches, from January to October 2021 and from January 2022 to February 2023. Those idle stretches were correct calls on a fund that fell. The losses start when the price begins hovering around the average, in March 2023.

Positive months are few. December 2023 gained 0.76%. July, August and September of 2024 gained 3.14%, 2.48% and 1.77%. February 2025 gained 1.49% and June gained 0.34%, then August to November 2025 added 3%, 0.83%, 1.03% and 1.64%. February 2026 added 4.38%. The larger losses came at turning points: March 2023 at -6.18%, May 2023 at -5.83%, October 2024 at -7.03%, March 2025 at -8.32% and March 2026 at -5.27%.

The pattern across years is a rule that makes small gains in the middle of a move and larger losses at the turns. A fund that moves in a series of mini-trends around a flat or falling average gives the rule more turns than moves.

Every trade

200-day regime filter on UST made 34 closed round trips, an average hold of 19 days, an average winner of 1.11%, an average loser of −1.76%, a profit factor of 0.14, a longest losing streak of 11. It held a position at the close on 30.7% of trading days.

EntryEntry priceExitExit priceReturnDays held
2021-11-08$59.822021-11-09$60.110.5%1
2021-11-10$59.762021-11-11$58.96−1.3%1
2021-12-01$59.912021-12-09$59.55−0.6%8
2021-12-13$60.082021-12-27$59.96−0.2%14
2021-12-28$59.972021-12-30$59.38−1.0%2
2023-03-20$44.122023-03-21$43.03−2.5%1
2023-03-24$44.952023-03-28$43.18−3.9%4
2023-04-04$43.862023-04-17$43.24−1.4%13
2023-04-25$44.132023-04-28$44.10−0.1%3
2023-05-01$43.882023-05-02$43.49−0.9%1
2023-05-03$44.702023-05-19$42.41−5.1%16
2023-12-15$41.092024-01-18$40.04−2.6%34
2024-01-23$40.032024-01-24$40.260.6%1
2024-01-30$40.562024-02-06$40.02−1.3%7
2024-02-07$40.302024-02-09$39.68−1.5%2
2024-03-04$39.232024-03-05$39.761.4%1
2024-03-06$39.932024-03-15$38.93−2.5%9
2024-03-25$39.492024-04-02$38.56−2.4%8
2024-05-16$38.812024-05-17$38.57−0.6%1
2024-06-04$38.972024-06-10$38.28−1.8%6
2024-06-13$39.372024-07-02$38.70−1.7%19
2024-07-05$39.342024-10-29$39.610.7%116
2024-11-29$40.392024-12-12$39.87−1.3%13
2025-02-26$40.122025-03-25$37.76−5.9%27
2025-03-26$40.192025-03-27$40.05−0.3%1
2025-03-31$41.052025-04-11$39.38−4.1%11
2025-04-16$40.112025-04-22$40.190.2%6
2025-04-25$40.992025-05-09$40.57−1.0%14
2025-06-05$40.652025-06-06$39.90−1.9%1
2025-06-12$40.662026-03-23$42.073.5%284
2026-04-09$42.712026-04-13$42.36−0.8%4
2026-04-14$42.522026-04-17$42.951.0%3
2026-04-20$42.882026-04-22$42.71−0.4%2
2026-04-23$42.562026-04-24$42.34−0.5%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 long list of short trades

The filter made 34 trades. Holds ran from 1 day to 284 days, with a median of 6. The median trade returned -0.98%. Many lasted a single day or two, and they came in clusters.

The five best trades were these.

The five worst were these.

Trade clusters match the caveat on the strategy page. Price whips around the 200-day line, and the rule produces buy-sell pairs. Six round trips closed in 2023 between March 20 and May 19, all losers, and five more closed between 2021-11-08 and 2021-12-30. The longest losing streak was 11, and the longest winning streak was 1. No gain larger than 3.47% appeared, so no win offset a loss like -5.88%.

The two long holds are the only trades that lasted months and finished positive. The 284-day trade and the 116-day trade both sat through quiet stretches above the average.

The 2021 start and the cash after April 2026

The first trade did not come until 2021-11-08, when the filter bought at 59.82 and sold the next day at 60.11 for 0.48%. Five round trips closed in 2021 with 1 win, and December 2021 lost 1.73%. After that the sleeve sat in cash until March 2023, the longest gap in the record.

The record ends in the same way. The last trade was a one-day hold from 2026-04-23 at 42.56 to 2026-04-24 at 42.34, a loss of 0.52%. The monthly table shows no position from May through September 2026. The 284-day winner ended on 2026-03-23 at 42.07. The rule closed 5 round trips in 2026 with 2 wins, including the 1.01% trade from 2026-04-14 at 42.52 to 2026-04-17 at 42.95.

Counting years with trades, 2021 had 5, 2023 had 6, 2024 had 12, 2025 had 6 and 2026 had 5. 2022 had none. Of the 34 closed trades, only 2024 had more than 2 winners, with 3. The long hold from 2025-06-12 at 40.66 and the 116-day hold in 2024 returned only 3.47% and 0.69%, so even the trades that stayed on the right side of the average made little.

Largest drawdowns

PeakLow pointDepthDays to lowRecoveredDays to recover
2021-11-102025-07-15−35.6%1343not yet–
2021-11-052021-11-08−0.5%32021-11-091

Buy-and-hold's deepest drawdown ran from 2021-01-04 to 2023-10-19 and reached −44.5%.

The drawdowns

The deepest drawdown was 35.65%, from a peak on 2021-11-10 to a low on 2025-07-15, 1,343 days later. No recovery came before the window ended. The only other entry in the drawdown table is a 0.46% dip over 2021-11-05 to 2021-11-08, gone by the next day. After that first dip the account went on a nearly continuous slide through 2023, 2024 and 2025.

Holding UST had a single drawdown of 44.51%, from the first day 2021-01-04 to the low on 2023-10-19, 1,018 days later, and it has no recovery date. The fund's own profile reaches 45.49% on the same dates. The filter's drawdown was shallower by 8.86 points. The gap comes from 2022, which the filter sat out while the fund lost 30.3%.

The filter's drawdown is a different shape from the fund's. The fund's came from one long fall, mostly in 2022. The filter's came from steady erosion after 2021, with a long list of small losing trades and a late winner too small to repair it. A filter that avoids a crash and then cannot make money in the chop that follows ends with a smaller loss that is still a loss.

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)−6.7%−35.6%$6,722-0.91
5 basis points−7.2%−37.4%$6,503-0.99
10 basis points−7.8%−39.2%$6,288-1.07

Cost runs

The headline run charges nothing. Adding 5 basis points per fill gave a CAGR of -7.22%, a max drawdown of 37.42% and an end equity of $6,503. A cost of 10 basis points gave -7.76%, 39.17% and $6,288. The Sharpe ratio fell from -0.91 to -0.989 and -1.066.

The filter made 68 fills, so costs bite on a rule whose average trade is -0.98% at the median. The cost runs erased part of the filter's lead over holding: at 10 basis points the CAGR of -7.76% is still above holding's -8.51%, and the lead is smaller. Liquidity is low on UST: $640,787 changes hands on an average day, and a median minute carries 223 shares. A $10,000 account is small, yet the true spread here could exceed the flat charge, which the cost runs do not measure.

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules−6.7%−35.6%3421%$6,722
100-day SMA−3.1%−24.4%2730%$8,356
150-day SMA−7.4%−39.5%4023%$6,445
250-day SMA−4.2%−22.7%2417%$7,817

Other average lengths

Three variants changed the window.

The base window of 200 days returned -6.68% on 34 trades. The 150-day window was worse, with the most trades and the deepest drawdown of the variants. The 100-day window was the best of the variants at -3.08% with a drawdown of 24.36% and a Sharpe ratio of -0.319, the highest among them. The 250-day window traded least and drew down least, at 22.69%.

The ordering is not smooth. The 100-day and 250-day windows both beat the 200-day, while the 150-day lost to it. That shape suggests the results move with specific crossing dates and not with a clear trend in window length. All four lost money, and every variant had a drawdown from 22.69% to 39.51% against 44.51% for holding. Window choice changed the size of the loss and did not change its sign.

How UST behaved

MeasureUST
Data in this test2021-01-04 to 2026-10-02 (1428 sessions)
Total return, buy and hold−41.2%
Annualized volatility15.1%
Deepest drawdown−45.5% (2021-01-04 to 2023-10-19)
Up days48.0%
Average daily range0.68%
Average overnight gap0.58%
Correlation to SPY0.09
Correlation to QQQ0.10
Correlation to TLT0.86
Sessions above the 200-day average35.6%
Crossings of the 200-day average68
Falls of 10% or more from a 20-day high7

How UST behaved

Over 1,428 sessions UST shed 41.18%, compounding at -8.83% a year with annualized volatility of 15.05%. The fund's deepest fall was 45.49%, from 2021-01-04 to 2023-10-19, and it never recovered. Year by year it made -7.9%, -30.3%, 0.36%, -7.56%, 11.78% and -11.64% for 2021 through 2026 so far.

Up days were 48% of sessions and averaged 0.72%, with down days averaging -0.74%. Its largest one-day gain was 4.89% on 2022-11-10, and its largest loss was -3.55% on 2022-06-13. Moves were small. The average intraday range was 0.68%, and a 200-day average on such a fund sits close to price much of the time, which is why crossings were frequent: 68 in the window. The fund closed above the average on only 35.64% of sessions.

UST aims at twice the daily move of intermediate Treasuries, and its underlying here is IEF. Regressed on IEF, UST showed a beta of 1.91 and an R-squared of 0.89. IEF itself returned -12.95%, a simple 2x would be -25.9%, and UST returned -41.18%. The daily-rebalanced ideal was -26.54%, so the fund returned less than that ideal. By year, the decay gap was close to zero in 2022 and negative in the other years, from -1.2 points in 2021 to -6.91 in 2023.

RSI statistics show no edge from dips. Across 204 sessions with RSI(2) under 10, the 5-day median was -0.2% (baseline -0.19%) and the 20-day median was -0.48% (baseline -0.38%). The fund's seasonal averages were strongest in November at 4% and weakest in September at -4.02%, each from 5 or 6 observations. Its correlation was highest to IEF at 0.94 and lowest to TBF at -0.86. Beta to SPY was 0.08, so equities did not drive it.

UST's biggest days and where the filter stood

The five best days for UST were +4.89% on 2022-11-10, +4.31% on 2022-09-28, +3.5% on 2023-01-06, +3.47% on 2022-10-03 and +3.45% on 2023-03-10. The first four came when the filter held nothing, so the rule collected none of them. The five worst days were -3.55% on 2022-06-13, -3.15% on 2025-04-07, -3.11% on 2022-09-22, -2.94% on 2022-09-26 and -2.76% on 2022-05-05. The filter was in cash for four of them as well. The exception was 2025-04-07, which fell inside the trade entered on 2025-03-31 at 41.05 and sold on 2025-04-11 at 39.38 for -4.07%.

The overnight and intraday legs both lost. The overnight log return was -15.21% and the intraday log return was -37.35%, a split of 28.93% overnight and 71.07% intraday. The average overnight gap was 0.58%. A rule that trades at the open sees that gap before it fills, but the fund's daily moves are small enough, with an average range of 0.68%, that the gap matters little next to the crossings of the 200-day line.

By weekday, Monday averaged -0.17% and Wednesday +0.08%, with the other three days within 0.06% of zero. The lag-1 autocorrelation was -0.03. Correlation to TLT was 0.86 and to SPY 0.09, so the fund's path followed long Treasuries and ignored equities. By calendar month, November averaged +4% and July +1.38%, while September averaged -4.02% and October -2.78%. The sleeve made 1.77% in September 2024 and 0.83% in September 2025 and lost 7.03% in October 2024, so its months do not mirror the fund's averages.

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.

A one-line rule on a fund with 68 crossings

The strategy page offers the filter as a first systematic strategy that is easy to audit, and the audit is quick here because the trade list has so few gains. The filter worked in 2022, when the fund fell and the rule stayed out. It did poorly when the price hovered at the average, which was most of the time after that. The page calls out the same behaviour, clusters of buy-sell pairs during volatile bottoms, and adds that some traders use a buffer band to reduce churn.

Only one strategy ended positive on UST, the SMA 10/50 trend at 0.68% with a 10.58% drawdown. The golden cross lost 2.38%, the EMA 12/26 trend lost 2.49% and the RSI(2) snapback lost 2.73%. Four more finish ahead of the filter: 3-month momentum at -4.02%, the momentum breakout at -4.27%, RSI mean reversion at -5.04% and the dip buyer at -5.12%. Three finish behind it: the weekly 7% target at -8.16%, a trailing-stop trend rule at -8.66% and the monthly cycle at -8.88%.

Equity-linked leveraged funds treated the same filter far better: TQQQ made 24.95%, SOXL made 23.44% and QLD made 21.57%, with SSO at 12.4% and TECL at 11.53%. The bond-linked pair did not. TMF, the 3x Treasury fund, lost 10.5%, and FAS lost 2.74%. UST has the most round trips of the ten at 34. Leveraged funds had a median of 12.4%, and all 59 funds had a median of 1.84%.

One fund, one rule and one window make up the test. The fund fell through most of the window, which is the hardest setting for a long-only rule. The figures are hypothetical and do not show how the filter would behave on a fund in a long uptrend.

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

Over 2021-01-04 to 2026-10-02, 200-day regime filter on UST returned −6.7% annualized vs −8.5% for buy-and-hold: it beat buy-and-hold by 1.8% per year, with a maximum drawdown 8.9 points shallower than holding (35.6% vs 44.5%).

How many trades did it make?

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

How did the 200-day regime filter do on UST?

The CAGR was -6.68% across 2021-01-04 to 2026-10-02, and $10,000 became $6,722. A buy-and-hold account lost more, with a CAGR of -8.51% and $6,001 at the end. The filter's max drawdown was 35.65% against 44.51% for holding.

Why did the filter earn exactly 0% in 2022?

The entry condition, a close above the 200-day average, never held during the year, so the rule made no trade. The fund lost 30.3% in 2022 by its own profile and 29.6% in the test. The filter's lead of 29.6 points that year is the reason it beat holding overall.

Why did the filter lose money in 2023 and 2024?

Price kept crossing the 200-day line, and the rule bought and sold repeatedly. Six trades in March to May 2023 all lost, and 2024 had 12 round trips with 3 wins. The year returns were -12.3% and -12.8%.

Which average length worked best on UST?

The 100-day average, at a CAGR of -3.08% and a max drawdown of 24.36%. The 250-day average returned -4.2% and the 150-day average returned -7.37%. All lost money.

How many of the trades were winners?

Seven of 34 won, which is 21%. Winners averaged 1.11% and losers averaged -1.76%. The longest losing streak was 11.

Do trading costs matter for the filter on UST?

Yes, because there were 68 fills. Charging 5 basis points took the CAGR from -6.68% to -7.22%, and 10 basis points took it to -7.76%. End equity fell to $6,503 and then $6,288.

Related

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