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

200-Day SMA Regime Filter on SGOV

iShares 0-3 Month Treasury Bond ETF: T-bills, often used as the cash leg of rotation strategies. 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 SGOV turned $10,000 into $11,997 (20.0% total, 3.2% CAGR): it beat buy-and-hold by 0.0% per year, with a maximum drawdown of 0.0% (buy-and-hold: 0.0%).
3.2%CAGR
3.2%buy & hold CAGR
−0.0%max drawdown
14.13Sharpe ratio
5round trips
40%win rate
■ 200-day regime filter   ■ buy & hold, $10,000 invested 2021-01-04

Year by year

Year200-day regime filterbuy & hold
20210.0%0.0%
20221.6%1.5%
20235.0%5.0%
20245.2%5.2%
20254.1%4.1%
20262.7%2.7%

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.0%0.0%
20220.0%0.0%0.0%0.0%0.1%0.1%0.1%0.2%0.2%0.2%0.3%0.4%
20230.3%0.3%0.4%0.3%0.4%0.5%0.4%0.5%0.4%0.4%0.5%0.4%
20240.4%0.4%0.4%0.4%0.5%0.4%0.4%0.5%0.4%0.4%0.4%0.4%
20250.3%0.3%0.3%0.3%0.3%0.3%0.3%0.4%0.3%0.3%0.3%0.3%
20260.3%0.3%0.3%0.3%0.3%0.3%0.3%0.3%0.3%0.1%––

Every trade

200-day regime filter on SGOV made 5 closed round trips and one position still open at the end of the test, an average hold of 18 days, an average winner of 0.02%, an average loser of 0.00%, a profit factor of 3.00, a longest losing streak of 2. It held a position at the close on 85.7% of trading days.

EntryEntry priceExitExit priceReturnDays held
2021-10-19$83.402021-10-21$83.400.0%2
2021-10-22$83.382021-10-26$83.400.0%4
2021-10-27$83.402021-10-28$83.39−0.0%1
2021-11-01$83.402022-01-05$83.400.0%65
2022-01-06$83.402022-01-25$83.410.0%19
2022-01-26$83.39open–20.4%–

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-10-182021-10-20−0.0%22021-10-211
2021-10-262021-11-12−0.0%172022-01-2675
2021-10-222021-10-25−0.0%32021-10-261

Buy-and-hold's deepest drawdown ran from 2021-03-02 to 2021-03-03 and reached −0.0%.

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)3.2%−0.0%$11,99714.13
5 basis points3.1%−0.5%$11,92613.07
10 basis points3.0%−1.0%$11,87311.32

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules3.2%−0.0%540%$11,997
100-day SMA3.2%−0.1%1741%$11,995
150-day SMA3.2%−0.1%1443%$11,996
250-day SMA3.2%−0.0%1100%$11,997

How SGOV behaved

MeasureSGOV
Data in this test2021-01-04 to 2026-10-02 (1444 sessions)
Total return, buy and hold20.5%
Annualized volatility0.2%
Deepest drawdown−0.0% (2021-03-01 to 2021-03-03)
Up days69.0%
Average daily range0.01%
Average overnight gap0.01%
Correlation to SPY-0.01
Correlation to QQQ-0.01
Correlation to TLT0.01
Sessions above the 200-day average99.5%
Crossings of the 200-day average10
Falls of 10% or more from a 20-day high0

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 SGOV 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 SGOV?

Over 2021-01-04 to 2026-10-02, 200-day regime filter on SGOV returned 3.2% annualized vs 3.2% for buy-and-hold: it beat buy-and-hold by 0.0% per year, with a maximum drawdown of 0.0% (buy-and-hold: 0.0%).

How many trades did it make?

5 completed round trips over 5.7 years (11 fills), with 40% 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 SGOV12 templates compared RSI(14) Mean Reversion on SGOVsame ETF, different rulesRSI(2) Dip Snapback on SGOVsame 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.