Learn › Strategies › Golden Cross (SMA 50/200) › IGIB

Golden Cross (SMA 50/200) 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: golden cross on IGIB turned $10,000 into $11,105 (11.1% total, 1.8% CAGR): it beat buy-and-hold by 1.6% per year, with a maximum drawdown 14.5 points shallower than holding (5.6% vs 20.1%).

This page tests the golden cross rule on IGIB, the iShares 5-10 Year Investment Grade Corporate Bond ETF. The rule holds the fund while the 50-day average sits above the 200-day average and sells everything when the 50-day drops below. The backtest runs from 2021-01-04 to 2026-10-02, starts with $10,000, and has no fees or slippage in the headline run. It ended at $11,105, a compound annual return of 1.84% with a maximum drawdown of 5.63% and a Sharpe ratio of 0.47.

Buy-and-hold on the same fund ended at $10,121, a 0.21% annual return, with a 20.13% maximum drawdown. The rule beat it on return and cut the worst loss to a fraction of the holding case. That result came from three round trips in nearly six years, so it rests on very few decisions. Two of the three trades won, and one of them, the last, produced almost all of the profit.

The fund was invested 59.9% of the time. The rest of the window was spent in cash, which earns nothing in this test. That matters for how the numbers read. A bond fund pays a coupon that is folded into the adjusted price, and a cash sleeve in this run adds no interest at all. Time out of the market therefore costs the strategy something that the headline numbers do not show separately.

Among the 12 strategies on IGIB, golden cross ranks second by CAGR. Among the 59 funds tested with this rule, IGIB ranks 31st.

1.8%CAGR
0.2%buy & hold CAGR
−5.6%max drawdown
0.47Sharpe ratio
3round trips
67%win rate
■ golden cross   ■ buy & hold, $10,000 invested 2021-01-04

Year by year

Yeargolden crossbuy & hold
20210.0%−1.6%
20220.0%−13.6%
2023−1.9%8.9%
20243.4%3.4%
20259.4%9.3%
20260.0%−3.3%

Year by year against buy-and-hold

The strategy returned 0% in 2021 and 0% in 2022. In 2021 the first buy did not happen until 2021-10-19, so the rule sat in cash for most of the year while the fund fell 1.6%. The entry was followed by a short stay: the position was sold on 2021-12-09 at an adjusted price of 48.67, against an entry of 48.66. That round trip returned 0.02%, and the monthly figures for October, November and December 2021 were 0.1%, -0.22% and 0.14%.

The 2022 result is the one that explains the whole backtest. IGIB lost 13.6% that year in the buy-and-hold run, and the strategy was in cash for all of it. The 50-day average had already crossed below the 200-day by the end of 2021, and it did not cross back until January 2023. This is the single year where a trend filter did what it is designed to do. The gap to buy-and-hold for 2022 was 13.6 points in the strategy's favour, the largest positive gap in the table.

The cost of that protection arrived in 2023. Buy-and-hold gained 8.9% in 2023, the fund's recovery from its low in October 2022, while the strategy lost 1.9%. The buy signal came on 2023-01-25 at an adjusted price of 43.63, well after the fund had started to turn up from the October 2022 trough. The position was then held through February 2023, which was the worst month of the whole test at -3.11%, and sold on 2023-09-22 at 42.6 for a loss of 2.36%. The 2023 gap against buy-and-hold was 10.8 points against the rule, the worst year of the comparison.

In 2024 both runs returned 3.4%. The strategy bought again on 2023-12-26 at 45.57, so it held the fund for the whole of 2024 and the two lines match. In 2025 the strategy made 9.4% and buy-and-hold made 9.3%, again nearly identical because the position was held all year. In 2026 the strategy was out of the fund after selling on 2026-08-19 at 51.92, and it logged 0% for the year to date while buy-and-hold was down 3.3%.

Counting the years, the rule beat buy-and-hold in four of six: 2021, 2022, 2025 and 2026. The 2025 win is a rounding difference of 0.1 points and the 2024 year was a tie. The real contest was decided by two years, 2022 in the strategy's favour and 2023 against it. See how the same rule handled a longer-duration bond on the golden cross page for TLT, where the same kind of signal had a different result.

Month by month

YearJanFebMarAprMayJunJulAugSepOctNovDec
20210.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.1%−0.2%0.1%
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.2%−3.1%3.1%0.7%−1.2%0.0%0.4%−0.6%−1.7%0.0%0.0%0.5%
20240.0%−1.3%1.3%−2.2%2.0%0.7%2.5%1.6%1.6%−2.4%1.3%−1.5%
20250.7%1.9%0.0%0.4%0.4%1.8%0.1%1.3%1.2%0.3%0.9%−0.1%
20260.2%1.3%−2.0%0.6%0.4%0.1%−1.2%0.6%0.0%0.0%––

What the monthly figures show

The monthly table is mostly zeros, which is a direct picture of the exposure. Every month from January 2021 to September 2021 is 0, and every month of 2022 is 0. Cash months account for roughly two fifths of the window. October and November 2023 are also zero, the gap between the September 2023 sale and the December 2023 re-entry.

The best month was March 2023 at 3.07%, and the worst was February 2023 at -3.11%. These two months sit next to each other, which shows how the position behaved right after the January 2023 entry: the fund gave back a large part of the early gain and then regained it. The rule has no way to separate the two events, because it only sells when the 50-day average crosses below the 200-day.

In 2024 the monthly figures swing between -2.38% in October and 2.54% in July. These are the normal moves of a bond fund with an annualized volatility of 6.29% in the facts, not signals of anything the rule did. The strategy took no action in any of those months. The 2025 months are mostly small gains, with February at 1.93% and June at 1.84%, and only December slightly negative at -0.13%.

Buy-and-hold's best month was November 2023 at 5.68% and its worst was September 2022 at -4.67%. The strategy was in cash for the worst month and held neither extreme in the same way: it sat out the 2022 slide and missed November 2023 as well, because the position had been sold in September 2023 and was not rebought until late December. A reader who looks only at the strategy's best month would miss that its largest possible monthly gain was left on the table in the one month where the fund rose most.

Every trade

golden cross on IGIB made 3 closed round trips, an average hold of 419 days, an average winner of 6.98%, an average loser of −2.36%, a profit factor of 5.79, a longest losing streak of 1. It held a position at the close on 59.9% of trading days.

EntryEntry priceExitExit priceReturnDays held
2021-10-19$48.662021-12-09$48.670.0%51
2023-01-25$43.632023-09-22$42.60−2.4%240
2023-12-26$45.572026-08-19$51.9213.9%967

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.

The three trades

The strategy made three round trips and six fills. The first trade ran 51 days from 2021-10-19 to 2021-12-09 and returned 0.02%. The second ran 240 days from 2023-01-25 to 2023-09-22 and lost 2.36%, the worst trade in the test and the only loser. The third ran 967 days from 2023-12-26 to 2026-08-19 and gained 13.93%, the best trade.

The win rate is 67%, and the profit factor is 5.79. Both figures come from three samples, and one trade drives them. The average win was 6.98% and the average loss was 2.36%. Remove the third trade and the win/loss picture would look very different: one flat trade and one loss would leave the strategy slightly below zero. The third trade lasted 967 days, the longest hold in the test, and the median hold was 240 days. The average hold was 419.3 days.

The pattern here is typical for a slow trend rule. It has few signals, and most of the return comes from catching one long leg. The first trade was a false start, a golden cross that did not hold. The second was a late entry after the fund's low, with the sell signal coming after a further decline. The third entered at 45.57 and exited at 51.92, and during that stay the fund ran through 2024 and 2025 with no sell signal until August 2026.

Prices in the trade list are adjusted for splits and dividends, so they are lower than the quotes printed at the time. That affects the entry and exit prices but not the percentage returns, which are computed on the same adjusted series. The rules for entry and exit are written out on the golden cross strategy page, and the only order the strategy places is a market buy of 98% of the sleeve at the open, or a sale of the whole position.

Largest drawdowns

PeakLow pointDepthDays to lowRecoveredDays to recover
2023-02-022024-04-16−5.6%4392024-08-01107
2024-10-012025-01-13−4.2%1042025-04-0380
2026-02-272026-03-27−2.9%28not yet–

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

Drawdowns of the strategy and of the fund

The strategy's deepest drawdown was 5.63%. It began at a peak on 2023-02-02, hit its low on 2024-04-16, 439 days later, and recovered on 2024-08-01 after 107 more days. That drawdown spans the loss-making second trade and the first months of the third. The entry in December 2023 came when the strategy was already below its February 2023 peak, so part of the drawdown is the effect of the position being re-established at a lower account value, not a fresh loss from the new position.

The second drawdown was 4.23%, from 2024-10-01 to a low on 2025-01-13, recovering on 2025-04-03. The third started on 2026-02-27, reached 2.94% by 2026-03-27 and has no recovery date in the data. It began before the August 2026 sale and the account was then in cash, so the drawdown remains open while the strategy waits for the next signal.

Buy-and-hold's worst drawdown was 20.13%, from 2021-08-03 to 2022-10-20, and the fund then needed until 2025-06-26 to recover, 980 days from the low. The strategy's deepest drawdown is shallower by a wide margin, and that difference is the only place the rule clearly adds something in this test. In 2022 the fund fell the most, and the strategy was not exposed to it.

The fund's own profile in the facts shows a 20.62% maximum drawdown on its own price series and a longest drawdown of 977 sessions. A fund with a 6.29% annualized volatility, as a bond ETF, can still suffer a drawdown that long when interest rates rise. The strategy's shallow drawdowns reflect time out of the market as much as skill in avoiding losses, since cash earns zero in this test and cannot lose either. Details on the fund itself are on the IGIB page.

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.8%−5.6%$11,1050.47
5 basis points1.8%−5.7%$11,0690.45
10 basis points1.7%−5.8%$11,0390.44

What fees and slippage did

The headline run has no costs. The cost runs add 5 and 10 basis points per fill. At 5 basis points the CAGR was 1.78% and the end equity $11,069, with a maximum drawdown of 5.72% and a Sharpe of 0.453. At 10 basis points the CAGR was 1.74%, end equity $11,039, drawdown 5.84% and Sharpe 0.441.

The strategy made six fills, so costs bite only six times. Each step up in the cost assumption removes a small amount from the return and leaves the ordering against buy-and-hold unchanged: buy-and-hold ended at $10,121 and the strategy at 10 basis points still ended well above that. That is the main benefit of a slow rule on a liquid fund. IGIB trades an average daily dollar volume of $90,382,863 and a median minute volume of 1,684 shares, which supports the small sleeve used here without moving the price.

The cost runs do not model bond ETF spreads at times of stress, which can be wider than the figures used here, and they do not model the short-term interest a cash sleeve could earn. These are limits of the test, not findings.

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules1.8%−5.6%367%$11,105
SMA 40/2002.0%−5.0%333%$11,177
SMA 50/1501.0%−6.9%540%$10,575
SMA 60/2501.6%−8.2%250%$10,979

What the parameter variants show

Three variants were run besides the standard 50/200 pair. SMA 40/200 gave a CAGR of 1.96%, a drawdown of 4.96% and a Sharpe of 0.497 with three trades. SMA 50/150 gave 0.98%, a drawdown of 6.87% and a Sharpe of 0.268 with five trades. SMA 60/250 gave 1.64%, a drawdown of 8.24% and a Sharpe of 0.422 with two trades.

The faster 40-day average did slightly better than the standard on every measure, with the same number of trades. The change is small, and with three trades in the whole sample the difference can come from one entry date a few days earlier or later. The shorter slow average of 150 days produced five trades and a lower CAGR. That variant crossed more often, which fits the idea that a shorter slow average gets whipsawed more in a sideways bond market. The longer 60/250 pair made two trades and a deeper drawdown, which is consistent with a very slow filter staying in the fund longer into the decline.

No variant came near the buy-and-hold drawdown of 20.13%, and all four produced a positive return. That is a mild point in favour of the filter idea on this fund, since the result does not depend on one exact pair. It does not show the pair is optimal, because the four variants share one window and one market regime, and the best of them is one choice among many possible ones. Compare with the SMA 10/50 trend rule on IGIB, which uses a much faster pair and reached a similar CAGR with a deeper drawdown.

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

How IGIB behaved over the window

IGIB is an investment-grade corporate bond fund in the Bond ETFs category. Over the test it returned 1.26% in total and 0.22% a year in its own series, with 1,444 sessions. Its calendar years were -1.62% in 2021, -13.97% in 2022, 9.21% in 2023, 3.52% in 2024, 9.56% in 2025 and -3.4% so far in 2026. The loss in 2022 and the recovery in 2023 are the two events that define the test.

The fund went up on 49.97% of days, with an average up day of 0.3% and an average down day of -0.31%. Its lag-1 autocorrelation was 0.01, which means one day's move said almost nothing about the next day's. Trend rules usually do better when moves persist, and the data here shows persistence only at the scale of months. The fund spent 66.27% of sessions above its 200-day average and crossed that average 52 times, many more crossings than the strategy's 3 round trips. The strategy's 50/200 pair filtered most of those crossings out, which is the reason it traded so rarely.

The correlation to TLT was 0.84, to SPY 0.35 and to QQQ 0.34. The beta to SPY was 0.14. The fund moves with interest rates more than with equities, so a rising-rate period such as 2022 pushed it down in a way that equity indicators would not have flagged. The most correlated funds were AGG and BND at 0.96, and the least correlated was TBF at -0.84. See the AGG and BND pages for the same rule on those near twins, which returned 0.78% and 0.72%.

An odd feature of the profile is the split between overnight and intraday returns. The average overnight gap was 0.21% and the overnight log return was 17.9%, while the intraday log return was -16.67%. In other words, the fund's gains arrived overnight and its intraday moves lost value over the window. The strategy buys at the open and sells at the open, so it takes the overnight gap from the previous close to that open into the next position.

The rules

Hold while the 50-day average is above the 200-day; step aside when it crosses below (the death cross).

  1. WHEN the market opens · IF not invested AND SMA(50) > SMA(200) · THEN buy with 98% of the sleeve
  2. WHEN the market opens · IF invested AND SMA(50) < SMA(200) · THEN sell the whole position

A widely used trend filter. When the 50-day simple moving average is above the 200-day, the asset is in a long-term uptrend and the strategy holds. When it crosses below, the strategy moves to cash. It trades rarely, with a handful of signals per decade on an index. Its use is skipping the deepest bear markets, and it will lag some rallies.

Good for: long-horizon investors who want to hold trends but sidestep multi-year bear markets.
Watch out: crosses lag at turning points: the strategy gives back the first leg of a crash and misses the first leg of a recovery, and choppy sideways markets whipsaw it.

How the rules interacted with this fund

Golden cross is a slow trend filter, and IGIB has a low enough volatility that its 50-day and 200-day averages sit close together. When two averages sit close, small price changes can flip the signal, and that is what happened in 2021: the first buy was followed by a sell 51 days later. The same closeness helped in other periods. In 2022 the fund drifted lower for so long that the cross stayed negative for the whole year, and the strategy remained out.

The strategy's drawback on IGIB was timing. The 2022 low came on 2022-10-20, and the strategy did not buy until 2023-01-25, then sold on 2023-09-22 at a price below its entry. Both the late entry and the sell near the fund's pullback came from the lag built into a 200-day average. Rules with a faster signal, such as the EMA 12/26 trend rule, did better on this fund, with a CAGR of 2.35%, and the 200-day regime filter returned 1.36%.

The rules that depend on large price swings did little. The dip buyer and the momentum breakout both finished at 0% with no drawdown, which means they never traded. The monthly cycle rule returned -0.27% with a 20.89% drawdown and the RSI mean reversion rule -0.48%. Bond funds with low volatility do not give a dip rule enough room, and a rule that buys after a fixed percentage fall may never trigger. The RSI(2) snapback rule returned 1.33% with an 11.79% drawdown, so a dip buyer with a short lookback traded often enough but took deeper losses than the trend rule.

Among bond ETFs, SGOV returned 3.22% with a 0.02% drawdown and no trades, so a cash-like fund beat everything in the category. IGIB ranked second in the category at 1.84%, ahead of IEI at 1.09%, AGG at 0.78%, BND at 0.72%, IEF at -0.29% and TLT at -2.46%. The median CAGR for this strategy across all 59 funds was 2.05% and across the bond category 0.78%, so IGIB landed below the all-fund median and above the category median.

The test stops at one window of under six years, one rate cycle and three trades. Nothing here shows how the rule would behave in a falling-rate period, in a credit stress, or with a different rebalancing day. The figures describe what the rule did on historical data and make no forecast.

Run golden cross 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 golden cross beat buy-and-hold on IGIB?

Over 2021-01-04 to 2026-10-02, golden cross on IGIB returned 1.8% annualized vs 0.2% for buy-and-hold: it beat buy-and-hold by 1.6% per year, with a maximum drawdown 14.5 points shallower than holding (5.6% vs 20.1%).

How many trades did it make?

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

How often does a golden cross happen?

On a broad index, roughly every couple of years. The backtest pages show the exact trade count for each ETF over the 2021 to 2026 window.

Golden cross vs buy and hold: which does better?

It depends on the asset and the window. Every backtest page here shows the same-window buy-and-hold comparison.

How did the golden cross strategy do on IGIB?

From 2021-01-04 to 2026-10-02 it turned $10,000 into $11,105, a 1.84% annual return with a 5.63% maximum drawdown. It made three round trips, two of them winners. Buy-and-hold on IGIB ended at $10,121 with a 20.13% drawdown.

Did the golden cross beat buy-and-hold on IGIB?

Yes on return and on drawdown in this window. The strategy beat buy-and-hold in four of six calendar years: 2021, 2022, 2025 and 2026. Its biggest advantage was 2022, when it was in cash while the fund lost 13.6%, and its biggest loss against buy-and-hold was 2023.

How many trades did the golden cross make on IGIB?

Three round trips and six fills in almost six years. The trades lasted 51, 240 and 967 days. The last one returned 13.93% and produced most of the profit.

Why was the strategy in cash for all of 2022?

The 50-day average was below the 200-day average through 2022, so the rule held no position. IGIB fell 13.6% that year in the buy-and-hold run. The first buy after that did not come until 2023-01-25.

Do trading costs change the IGIB result?

Only a little. At 5 basis points per fill the CAGR was 1.78%, and at 10 basis points it was 1.74%. The strategy made only six fills, so costs were applied few times. The headline run itself has no fees or slippage.

Did other moving-average settings work better on IGIB?

SMA 40/200 returned 1.96% with a 4.96% drawdown, a little better than the standard pair. SMA 50/150 returned 0.98% with five trades, and SMA 60/250 returned 1.64% with two. With only a few trades in each run, the gaps between settings are small.

Is golden cross a good strategy for bond ETFs?

In this test it ranked second of 12 strategies on IGIB and second in its category behind cash-like SGOV, but results vary by fund. It lost money on TLT at -2.46% a year. This is a backtest on one window and is no forecast.

Related

Golden Cross (SMA 50/200) 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.