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%).
−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%

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%––

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.

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%.

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

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

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

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.

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.

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.