Learn › Strategies › SMA 10/50 Trend › IGIB

SMA 10/50 Trend 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: SMA 10/50 trend on IGIB turned $10,000 into $11,037 (10.4% total, 1.7% CAGR): it beat buy-and-hold by 1.5% per year, with a maximum drawdown 13.5 points shallower than holding (6.6% vs 20.1%).

The SMA 10/50 trend rule buys at the open when the 10-day simple average crosses over the 50-day, and sells everything when the 10-day falls back under. On IGIB, the iShares 5-10 Year Investment Grade Corporate Bond ETF, it turned $10,000 into $11,037.14 between 2021-01-04 and 2026-10-02. That is a CAGR of 1.73% and a total return of 10.37%. Holding IGIB over the same window ended at $10,121.16, a CAGR of 0.21%.

The rule beat holding by 1.52 points a year in CAGR. Its maximum drawdown was 6.63%, while buy-and-hold fell 20.13%. Sharpe was 0.44 for the rule and 0.07 for holding. The edge came from two calendar years in which the rule was out of the way of a bond sell-off, 2021 and 2022, and it gave some of it back in 2023, 2024 and 2025.

IGIB is a bond fund, and a bond fund moves slowly. Its annualized volatility was 6.29%. A crossover of two averages that are only 10 and 50 days long reacts to small moves on a fund like that, and the rule made 16 round trips and 32 fills, with 7 winners. The win rate of 44% looks poor, but the average winner of 3.02% was larger than the average loser of -1.17%, and the profit factor was 1.97.

What was run: one fund, 5.74 years, one decision a day, and no fees in the headline figures. Bond funds in this window sold off hard in 2022 and then recovered slowly, so the figures describe that path.

1.7%CAGR
0.2%buy & hold CAGR
−6.6%max drawdown
0.44Sharpe ratio
16round trips
44%win rate
■ SMA 10/50 trend   ■ buy & hold, $10,000 invested 2021-01-04

Year by year

YearSMA 10/50 trendbuy & hold
20211.8%−1.6%
2022−2.7%−13.6%
20237.0%8.9%
2024−0.3%3.4%
20256.0%9.3%
2026−1.5%−3.3%

How each year compared with holding IGIB

Three calendar years went the rule's way (2021, 2022, 2026) and three went to holding (2023, 2024, 2025). The wins were uneven in size.

2021 went 1.8% against -1.6% for holding. The 50-day average needs 50 sessions to exist, and the window opens on 2021-01-04, so the first entry came on 2021-04-26 at an adjusted $48.25. From then the account earned 0.55% in May, 1.11% in June and 1.14% in July, then lost 0.26% in August and 0.83% in September. The exit on 2021-09-28 at $49.03 closed that trade at 1.62%. The December 2021 entry at $48.61 was a small loss, closed on 2022-01-06 at $48.14.

2022 is where the rule earned its keep. It lost 2.7% while IGIB lost 13.6%, a gap of 10.9 points in the rule's favour, the largest of the six. After the January exit the account was in cash for most of the first half of the year. It entered once on 2022-07-25 at $43.30, lost 3.4% in August, and exited on 2022-09-01 at $42.29 for -2.33%. That trade was the second worst in the test. The worst month of the rule was August 2022 at -3.4%, and holding had its worst month the following month, September 2022 at -4.67%. The rule was flat for most of September, losing 0.44%.

The rule re-entered on 2022-11-17 at $41.58, close to the low. Holding's worst fall ended on 2022-10-20, and the rule's entry came four weeks after that, a late but useful entry. November added 1.46%, December lost 0.65%, and January 2023 added 4.2%, the best month of the rule's run.

2023 returned 7.0% against 8.9%. January's 4.2% came first and February gave back 3.13% before the exit on 2023-02-22 at $42.32, which closed the trade at 1.78%. The next entry, 2023-03-24 at $43.72, ended on 2023-05-22 at $43.20 for -1.19%. A third, 2023-07-21 at $43.67, exited 2023-08-10 for -0.41%. Then the account entered on 2023-11-13 at $42.44 and rode the November and December rally: 3.53% and 4.03%. That trade is the best of the test at 6.06%, closing on 2024-02-16 at $45.01.

2024 was the weakest year relative to holding, -0.3% against 3.4%. February lost 1.65% as the 2023 trade ended, a March entry at $45.70 lost 1.51% by 2024-04-12, and a December entry at $48.38 lost 2.42% by 2024-12-24, the worst trade of the test. The middle of the year was better: the entry on 2024-05-15 at $45.71 lasted until 2024-10-17 and returned 5.53%.

2025 returned 6.0% against 9.3%. The rule made 0.61% on a short trade from 2025-02-04 to 2025-04-15, lost 1.51% in April, and then held from 2025-05-01 at $48.91 to 2025-11-13 at $51.49 for 5.27%. 2026 is partial and shows -1.5% against -3.3% for holding.

Month by month

YearJanFebMarAprMayJunJulAugSepOctNovDec
20210.0%0.0%0.0%−0.1%0.6%1.1%1.1%−0.3%−0.8%0.0%0.0%0.2%
2022−1.2%0.0%0.0%0.0%0.0%0.0%1.6%−3.4%−0.4%0.0%1.5%−0.7%
20234.2%−3.1%−0.1%0.7%−1.8%0.0%−0.1%−0.3%0.0%0.0%3.5%4.0%
20240.0%−1.6%0.1%−1.6%−0.2%0.7%2.5%1.6%1.6%−0.9%0.0%−2.4%
20250.0%2.1%0.0%−1.5%0.3%1.8%0.1%1.3%1.2%0.3%0.3%−0.1%
20260.2%1.3%−1.8%−0.7%−0.8%0.6%−0.4%0.0%0.0%0.0%––

Months in the market and months in cash

The account held IGIB at the close on 54.1% of sessions. The month table shows 0.0% from January to March 2021, while the 50-day average formed, and again for stretches of 2022 and parts of 2023, 2024 and 2025. In those months the rule was in cash and the fund moved on without it.

Most months moved by less than 2% in either direction, which matches a fund with 6.29% volatility. The largest were January 2023 at 4.2%, December 2023 at 4.03%, November 2023 at 3.53%, August 2022 at -3.4% and February 2023 at -3.13%.

The calendar-month averages for the fund itself show November at 2.58% and September at -1.44%, with October at -0.96%. Those averages come from 5 or 6 observations each, and the rule's best months are largely November, December and January, the same stretch where the fund's average is highest. The pattern is in the data for this window, and it does not carry a claim about other years.

For holders the best month was November 2023 (5.68%) and the worst September 2022 (-4.67%). The rule made 3.53% of that November, since it entered on the 13th at $42.44, after the move had started.

Every trade

SMA 10/50 trend on IGIB made 16 closed round trips, an average hold of 71 days, an average winner of 3.02%, an average loser of −1.17%, a profit factor of 1.97, a longest losing streak of 2. It held a position at the close on 54.1% of trading days.

EntryEntry priceExitExit priceReturnDays held
2021-04-26$48.252021-09-28$49.031.6%155
2021-12-15$48.612022-01-06$48.14−1.0%22
2022-07-25$43.302022-09-01$42.29−2.3%38
2022-11-17$41.582023-02-22$42.321.8%97
2023-03-24$43.722023-05-22$43.20−1.2%59
2023-07-21$43.672023-08-10$43.49−0.4%20
2023-11-13$42.442024-02-16$45.016.1%95
2024-03-12$45.702024-04-12$45.01−1.5%31
2024-05-15$45.712024-10-17$48.245.5%155
2024-12-06$48.382024-12-24$47.21−2.4%18
2025-02-04$47.642025-04-15$47.930.6%70
2025-05-01$48.912025-11-13$51.495.3%196
2025-11-25$51.832026-03-16$51.77−0.1%111
2026-04-20$52.372026-05-21$51.57−1.5%31
2026-06-04$52.132026-06-15$52.270.3%11
2026-06-23$52.082026-07-17$52.07−0.0%24

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.

Sixteen trades and what they look like

The trade table lists 16 round trips and no open position at the end. Seven made money and nine lost it, but the average winner of 3.02% was well above the average loser of -1.17%, and the profit factor of 1.97 comes from that shape. The median return across all trades was -0.02%, which tells the same story: a typical trade went nowhere, and a few long ones paid for the rest.

The best three trades were all long holds in a rising bond market: 6.06% over 95 days from 2023-11-13, 5.53% over 155 days from 2024-05-15, and 5.27% over 196 days from 2025-05-01. The longest hold in the test, 196 days, is the third of these. The fourth best was 1.78% over 97 days from 2022-11-17, and the fifth 1.62% over 155 days from 2021-04-26.

The five worst were short or flat: -2.42% over 18 days, -2.33% over 38 days, -1.53% over 31 days, -1.51% over 31 days and -1.19% over 59 days. Average hold was 70.8 days, the median 59, and the shortest trade lasted 11 days. The last two trades of the test, 2026-06-04 to 2026-06-15 at 0.27% and 2026-06-23 to 2026-07-17 at -0.02%, show the whipsaw the template warns about: two entries within three weeks, both in a flat market, earning almost nothing.

Sorted by the year each trade closed: 2021 had one trade and one winner, 2022 two trades and no winners, 2023 three trades and one winner, 2024 four and two, 2025 two and two, 2026 four and one. 2022 had no winners. Longest win streak and longest loss streak were both 2 trades.

The strategy's rules page says that several false signals a year are normal. This page agrees with that: in 2024 and 2026 the rule closed 4 trades each, and the second half of 2023 and the first half of 2026 held short trades that lost small amounts.

Largest drawdowns

PeakLow pointDepthDays to lowRecoveredDays to recover
2023-02-022023-08-03−6.6%1822023-12-13132
2021-08-032022-11-21−4.6%4752023-01-1858
2024-02-012024-05-29−4.6%1182024-08-0265

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

Drawdowns of the rule and of the fund

The rule's deepest drawdown was 6.63%. It ran from a peak on 2023-02-02 to a low on 2023-08-03, 182 days, and recovered on 2023-12-13, 132 days later. That is the stretch of March to August 2023 with a loss of 1.19% on one trade and 0.41% on another, followed by a flat summer.

The second was 4.63%, from 2021-08-03 to 2022-11-21, which is 475 days to the trough and 58 days to recover on 2023-01-18. The peak sits in the first trade and the low sits just after the 2022 entry, which means the account was in cash for much of that drawdown and the drawdown number reflects a flat equity curve below a peak, not a long losing position. The third was 4.56%, from 2024-02-01 to 2024-05-29, recovered on 2024-08-02.

Holding IGIB produced a 20.13% drawdown. It started on 2021-08-03, bottomed on 2022-10-20 after 443 days, and was not recovered until 2025-06-26, 980 days later. The fund's own record, shows a 20.62% fall with 977 sessions as its longest drawdown. Another holding drawdown, 4.78%, opened on 2026-02-27 and hit its low on 2026-09-30 with no recovery by the last close. A third was 4% from 2021-01-04 to 2021-03-19, recovered on 2021-07-19.

A bond fund with a 20% drawdown is a deep fall for the asset class, and the rule limited its worst loss to 6.63%. That is the main result of this test. The cost was that the account was in cash and missed part of the recovery. The Sharpe of 0.44 against 0.07 captures both effects.

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.7%−6.6%$11,0370.44
5 basis points1.4%−6.8%$10,8650.38
10 basis points1.2%−7.0%$10,6960.31

Cost runs with 5 and 10 basis points

The headline run charges nothing. The cost runs charge slippage on each of the 32 fills. At 5 basis points the CAGR fell to 1.45%, the maximum drawdown rose to 6.83%, the ending equity was $10,864.58 and the Sharpe was 0.375. At 10 basis points the CAGR was 1.18%, the drawdown 7.01%, the ending equity $10,695.63 and the Sharpe 0.308.

Trading cost makes a visible difference here. IGIB moves slowly, and the average winning trade was 3.02%, so a charge on each side of every trade matters. At 10 basis points the rule still ended above holding's $10,121.16 and still held a CAGR above the 0.21% of buy-and-hold. The Sharpe of 0.308 is still above holding's 0.07.

A rule that made 16 round trips on a fund with 0.37% average daily range is sensitive to what a fill costs. The runs apply a flat charge and cannot capture the wider spreads that a bond ETF can show on a day of heavy selling. Average daily dollar volume was $90,382,863 and the median minute carried 1,684 shares, so a $10,000 order is small by comparison.

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules1.7%−6.6%1644%$11,037
SMA 5/502.1%−5.0%2035%$11,277
SMA 20/500.8%−9.4%1540%$10,493
SMA 10/1001.9%−5.1%1354%$11,145

Faster and slower versions of the averages

Three variants change one average at a time.

SMA 5/50, a faster entry signal, made 20 trades with 7 wins, a CAGR of 2.12%, a maximum drawdown of 4.98%, a Sharpe of 0.544 and ending equity of $11,276.85. It beat the published rule on every line, with more trades.

SMA 20/50, a slower entry signal, made 15 trades with 6 wins, a CAGR of 0.84%, a maximum drawdown of 9.38%, a Sharpe of 0.225 and ending equity of $10,493.14. It was the weakest of the group and the only one with a larger drawdown than the published rules.

SMA 10/100 changed the slow average. It made 13 trades with 7 wins, a CAGR of 1.91%, a maximum drawdown of 5.07%, a Sharpe of 0.482 and ending equity of $11,145.48. Fewer trades and a slightly higher return, with a shallower drawdown.

Taken together, speeding up the fast average improved the result and slowing it down hurt. On a fund that rose and fell in swings that lasted weeks, a quicker reaction caught more of each swing. The test does not say that 5/50 is a better setting. The range of CAGRs, from 0.84% to 2.12%, is small in dollars. Each variant has 13 to 20 trades, which is too few to rank settings.

All four versions, including the published one, ended above the buy-and-hold CAGR of 0.21%. That is a statement about IGIB's flat path in this window as much as about the rule.

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 and why that mattered

The fund itself gained 1.26% across 1,444 sessions. That is a CAGR of 0.22% at annualized volatility of 6.29%. By calendar year IGIB went -1.62% (2021), -13.97% (2022), 9.21% (2023), 3.52% (2024), 9.56% (2025), then -3.4% in the part-year 2026. The fund's maximum drawdown was 20.62% and its longest drawdown lasted 977 sessions.

The up days were 49.97% of all days. Average days up and down were 0.3% and -0.31%. Intraday range averaged 0.37% and the overnight gap 0.21%. The return was uneven across the day: overnight log returns summed to 17.9% and intraday log returns to -16.67%, so almost all of the net gain came overnight and the trading day itself lost. For a rule that buys and sells at the open, that split means the entries and exits sit at the point where the fund tends to move. The share figures in the facts file are very large because the two parts almost cancel, and they are best ignored.

The fund's correlation was 0.84 to TLT, 0.35 to SPY and 0.34 to QQQ, with betas of 0.34, 0.14 and 0.1. Its closest matches were AGG and BND (0.96 each), IEF (0.92), IEI (0.89) and UST (0.87). The fund behaved as a rate-sensitive asset first and a credit asset second.

Price held over the 200-day line on 66.27% of sessions, and the line was crossed 52 times. That is a frequent crossing for a slow fund, and it explains the whipsaw in the 10/50 rule. The fund never had a 10% fall from a 20-day high, so a dip rule has nothing to trade here. RSI(14) fell below 30 on 66 sessions, and the median returns afterwards were -0.24% over 5 days and -1.91% over 20, against baseline medians of 0.02% and 0.22%. Oversold readings on this fund were followed by further weakness in this window, which is why mean-reversion rules did poorly on it. RSI(2) below 10 on 169 sessions was followed by median returns of 0.12% and 0.14%.

The rules

A faster moving-average crossover: hold while the 10-day average is above the 50-day.

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

A faster version of the golden cross. The 10- and 50-day averages catch intermediate trends measured in weeks rather than years. It enters recoveries earlier and exits breakdowns earlier, with more whipsaw trades in sideways markets. Useful for seeing how signal speed changes a strategy's results.

Good for: trending assets with multi-week swings, such as leveraged index ETFs.
Watch out: several false signals a year is normal; each whipsaw costs a small loss and they add up in flat markets.

Why a trend rule with a fast average suited this fund

A 10-day average above a 50-day average says that prices of the last two weeks are higher than prices of the last two months. On a fund in a long decline, that condition is false for most of the year, and the rule sits in cash. IGIB spent from 2021-08-03 to 2022-10-20 falling, and the rule held a position for only parts of it. The one entry in July 2022 lost 2.33%, and the other trades in that stretch were short.

The bond market in this window had a long bear phase and two clear recoveries, in late 2022 to early 2023 and in 2023 to 2024. A two-average rule is a natural tool for that shape. The rule has no view on credit or rates. It reacts to price, and in this window that was enough to dodge most of the largest fall and take part in some of the rises.

The template's description says it enters recoveries earlier and exits breakdowns earlier than the golden cross, and the numbers here fit that description. The golden cross made 1.84% with a 5.63% drawdown, slightly above the 10/50's 1.73% and 6.63%. The 10/50 rule earned slightly less than the slower golden cross. The 5/50 variant, faster still, earned more than the published rule, so speed did not point in one direction here.

The ranking on IGIB

The SMA 10/50 trend ranks 3rd of 12 on IGIB by CAGR. Above it were the EMA 12/26 trend at 2.35% with a 5.33% drawdown and the golden cross at 1.84% with 5.63%. Below it were the 200-day regime filter at 1.36% and 5.44%, the RSI(2) snapback at 1.33% and 11.79%, and the 3-month momentum at 0.25% and 4.99%.

The trend plus trailing stop made 0.06% with a 17.82% drawdown. The dip buyer and the momentum breakout both made no trades and finished flat. The weekly 7% target lost 0.05%, the monthly cycle lost 0.27% with a 20.89% drawdown, and the RSI mean reversion lost 0.48%.

The four trend-following rules took the top four places on this fund. Rules that buy dips or oversold readings were at the bottom, which matches the RSI statistics above. The full table for all 12 templates is on the IGIB hub page.

The same rule on other bond funds

Across all 59 funds the template had a median CAGR of 2.12%, and across the bond group it was 1.24%. IGIB's 1.73% placed 31st of 59 and above the bond-group median.

Within the bond group, SGOV led at 3.21% with a drawdown of 0.05% and 6 round trips. SGOV is a short-dated Treasury fund and barely moves, so the number mostly reflects interest. IEF made 1.33% with a 5.67% drawdown and 14 round trips, and IEI made 1.24% with a 3.21% drawdown and 16 round trips. Below IGIB were AGG at 0.79% and 6.46%, BND at 0.52% and 6.62%, and TLT at -0.85% with a 14.24% drawdown.

TLT, the long-dated Treasury fund, lost money under the same rule, and its drawdown was the deepest of the group. Funds with shorter duration had smaller drawdowns. IGIB, AGG and BND made 16, 18 and 19 round trips, and IGIB earned the most of the three.

The figures are for one window of 5.74 years that opened in January 2021, with decisions made daily, no margin and no fees in the headline run. The rule's result on a bond fund depends on how far prices swing, and this window had one very large swing in 2022. A window without it would likely look different.

Run SMA 10/50 trend 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 SMA 10/50 trend beat buy-and-hold on IGIB?

Over 2021-01-04 to 2026-10-02, SMA 10/50 trend on IGIB returned 1.7% annualized vs 0.2% for buy-and-hold: it beat buy-and-hold by 1.5% per year, with a maximum drawdown 13.5 points shallower than holding (6.6% vs 20.1%).

How many trades did it make?

16 completed round trips over 5.7 years (32 fills), with 44% of round trips closing profitably.

Why 10 and 50 days?

A common intermediate-trend pairing. It reacts within weeks and ignores single bad days. Both windows are editable parameters in DeployQuant.

Did the SMA 10/50 trend beat buy-and-hold on IGIB?

Yes, narrowly in CAGR and clearly in drawdown. The rule returned 1.73% a year and ended at $11,037.14, while holding returned 0.21% and ended at $10,121.16. The rule's maximum drawdown was 6.63% against 20.13% for holding, and it beat holding in 2021, 2022 and 2026.

How many trades did the rule make on IGIB?

It made 16 round trips and 32 fills over 5.74 years. Seven closed with a gain, a win rate of 44%. The average hold was 70.8 days and the longest was 196 days.

Why is the win rate low if the strategy made money?

Winners averaged 3.02% and losers -1.17%. The three best trades returned 6.06%, 5.53% and 5.27%, and they paid for the nine losers. The profit factor was 1.97.

What happens to the result with trading costs?

At 5 basis points per fill the CAGR was 1.45% and the ending equity $10,864.58. At 10 basis points the CAGR was 1.18% and the ending equity $10,695.63. The rule still ended ahead of buy-and-hold in both runs.

Does a faster or slower average work better on IGIB?

SMA 5/50 returned 2.12% with a 4.98% drawdown over 20 trades, and SMA 20/50 returned 0.84% with a 9.38% drawdown over 15 trades. SMA 10/100 returned 1.91% with 5.07%. The faster setting did best in this window, but each variant has few trades.

How did the rule handle the 2022 bond sell-off?

It lost 2.7% in 2022 while IGIB lost 13.6%. Cash for most of the first half, one losing trade between 2022-07-25 and 2022-09-01, then a re-entry on 2022-11-17 at $41.58.

How does IGIB compare with other bond funds under this rule?

IGIB's 1.73% placed 31st of 59 funds and above the bond-group median of 1.24%. SGOV led the group at 3.21%, IEF made 1.33% and IEI 1.24%, and TLT lost 0.85%.

Related

SMA 10/50 Trend 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.