LearnStrategies200-Day SMA Regime Filter › SGOV

200-Day SMA Regime Filter on SGOV

iShares 0-3 Month Treasury Bond ETF — T-bills — effectively the cash leg of many rotation strategies. Backtest 2021-01-04 → 2026-07-17, $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,905 (19.1% total, 3.2% CAGR) — it trailed buy-and-hold by 0.0% per year, with a maximum drawdown of 0.1% (buy-and-hold: 0.0%).
3.2%CAGR
3.2%buy & hold CAGR
−0.1%max drawdown
13.61Sharpe ratio
3round trips
67%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.5%1.5%
20235.0%5.0%
20245.1%5.1%
20254.2%4.2%
20261.9%1.9%

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, one number, and one of the most-studied timing signals in finance: price above the 200-day moving average has historically coincided with better returns and lower volatility than price below it. This template is the purest expression — no crossovers, no oscillators, just which side of the long-term average the price sits on.

Good for: a first systematic strategy — it's simple enough to fully understand and 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.5 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–2026-07-17, 200-day regime filter on SGOV returned 3.2% annualized vs 3.2% for buy-and-hold — it trailed buy-and-hold by 0.0% per year, with a maximum drawdown of 0.1% (buy-and-hold: 0.0%).

How many trades did it make?

3 completed round trips over 5.5 years (7 fills), with 67% of round trips closing profitably.

Why the 200-day average specifically?

Convention and evidence: it approximates a year of trading days and has been studied across decades of data. It isn't optimal everywhere — the per-ETF backtests here show where it helped and where it didn't.

Related

200-Day SMA Regime Filter — 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-07-17, $10,000 starting capital, no margin, fees and slippage not modeled) and do not guarantee future results. Nothing on this page is investment advice. Live trading involves risk of loss.