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

200-Day SMA Regime Filter on IGIB

iShares 5-10 Year Investment Grade Corporate Bond ETF: investment-grade corporate credit. 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 IGIB turned $10,000 into $10,808 (8.1% total, 1.4% CAGR): it beat buy-and-hold by 1.2% per year, with a maximum drawdown 14.7 points shallower than holding (5.4% vs 20.1%).
1.4%CAGR
0.2%buy & hold CAGR
−5.4%max drawdown
0.35Sharpe ratio
26round trips
38%win rate
■ 200-day regime filter   ■ buy & hold, $10,000 invested 2021-01-04

Year by year

Year200-day regime filterbuy & hold
2021−1.6%−1.6%
2022−1.7%−13.6%
20233.6%8.9%
20243.4%3.4%
20256.0%9.3%
2026−1.6%−3.3%

Month by month

YearJanFebMarAprMayJunJulAugSepOctNovDec
20210.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%−0.3%−0.4%−0.9%
2022−0.4%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%−1.3%
20232.1%−2.8%1.4%0.7%−1.2%0.0%0.4%−1.9%−0.9%0.0%1.8%4.0%
20240.0%−1.3%1.3%−2.2%2.0%0.7%2.5%1.6%1.6%−2.4%1.3%−1.5%
2025−0.1%1.9%0.0%−1.9%0.4%1.8%0.1%1.3%1.2%0.3%0.9%−0.1%
20260.2%1.3%−3.0%0.6%0.1%0.0%−0.9%0.1%0.0%0.0%––

Every trade

200-day regime filter on IGIB made 26 closed round trips, an average hold of 47 days, an average winner of 1.59%, an average loser of −0.46%, a profit factor of 2.12, a longest losing streak of 8. It held a position at the close on 57.1% of trading days.

EntryEntry priceExitExit priceReturnDays held
2021-10-28$48.792021-10-29$48.62−0.3%1
2021-11-03$48.812021-11-04$48.820.0%1
2021-11-05$48.992021-11-11$48.78−0.4%6
2021-12-06$48.832021-12-07$48.70−0.3%1
2021-12-08$48.682021-12-09$48.67−0.0%1
2021-12-14$48.732021-12-15$48.61−0.3%1
2021-12-16$48.822021-12-30$48.74−0.2%14
2021-12-31$48.822022-01-03$48.53−0.6%3
2022-12-14$42.862022-12-20$42.29−1.3%6
2023-01-09$42.812023-02-22$42.32−1.1%44
2023-02-24$42.202023-02-27$42.370.4%3
2023-03-06$42.492023-03-07$42.37−0.3%1
2023-03-13$42.922023-08-16$42.88−0.1%156
2023-08-24$42.982023-08-25$42.91−0.2%1
2023-08-30$43.362023-09-06$42.96−0.9%7
2023-11-15$43.022023-11-16$43.180.4%1
2023-11-17$43.332025-01-13$46.818.0%423
2025-01-16$47.212025-04-09$47.350.3%83
2025-04-10$47.952025-04-11$47.41−1.1%1
2025-04-15$47.932026-03-27$51.076.5%346
2026-03-31$51.602026-05-18$51.700.2%48
2026-05-22$51.862026-06-09$51.870.0%18
2026-06-10$51.922026-07-14$51.87−0.1%34
2026-07-16$51.972026-07-21$51.86−0.2%5
2026-08-05$51.972026-08-07$51.990.0%2
2026-08-26$51.952026-08-28$51.960.0%2

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-272023-11-15−5.4%7492023-12-2742
2024-10-012025-04-21−4.9%2022025-08-04105
2026-02-272026-08-06−3.4%160not yet–

Buy-and-hold's deepest drawdown ran from 2021-08-03 to 2022-10-20 and reached −20.1%.

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)1.4%−5.4%$10,8080.35
5 basis points0.9%−6.9%$10,5380.24
10 basis points0.5%−8.3%$10,2770.14

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules1.4%−5.4%2638%$10,808
100-day SMA1.4%−6.4%3941%$10,826
150-day SMA0.5%−8.0%3023%$10,278
250-day SMA2.3%−4.7%1217%$11,401

How IGIB behaved

MeasureIGIB
Data in this test2021-01-04 to 2026-10-02 (1444 sessions)
Total return, buy and hold1.3%
Annualized volatility6.3%
Deepest drawdown−20.6% (2021-08-03 to 2022-10-20)
Up days50.0%
Average daily range0.37%
Average overnight gap0.21%
Correlation to SPY0.35
Correlation to QQQ0.34
Correlation to TLT0.84
Sessions above the 200-day average66.3%
Crossings of the 200-day average52
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 IGIB 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 IGIB?

Over 2021-01-04 to 2026-10-02, 200-day regime filter on IGIB returned 1.4% annualized vs 0.2% for buy-and-hold: it beat buy-and-hold by 1.2% per year, with a maximum drawdown 14.7 points shallower than holding (5.4% vs 20.1%).

How many trades did it make?

26 completed round trips over 5.7 years (52 fills), with 38% 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 IGIB12 templates compared RSI(14) Mean Reversion on IGIBsame ETF, different rulesRSI(2) Dip Snapback on IGIBsame 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.