Learn › Strategies › 20-Day Momentum + Trailing Stop › IGIB

20-Day Momentum + Trailing Stop 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: momentum breakout on IGIB turned $10,000 into $10,000 (0.0% total, 0.0% CAGR): it trailed buy-and-hold by 0.2% per year, with a maximum drawdown 20.1 points shallower than holding (0.0% vs 20.1%).

The momentum breakout template buys when a fund's 20-day return is above +10% and exits on a 10% trailing stop. The rule never bought IGIB, the iShares 5-10 Year Investment Grade Corporate Bond ETF. Between 2021-01-04 and 2026-10-02 the account held $10,000 in cash. The strategy's figures are all zero here: 0 fills, 0 round trips, 0% CAGR, 0% max drawdown and 0% exposure.

Buy-and-hold on IGIB made a 0.21% CAGR and ended at $10,121. That is a total return of 1.21% over 5.74 years, with a max drawdown of 20.13% and a Sharpe ratio of 0.07. The strategy trailed by 0.21 points a year and finished $121 behind, and it avoided a 20.13% fall that took 980 days to recover.

A result of zero says more than it looks like. The rule asks for a burst, a gain of more than 10% in 20 trading sessions, and IGIB is a corporate bond fund with annualised volatility of 6.29%. A move of that size did not occur in the window, or at least not at a moment when the strategy was flat and able to act on it.

The test has one window, daily decisions, and no fees in the headline run. A strategy that never trades cannot be said to have been tested on trades. It was tested on whether its trigger ever fires on this fund, and the answer is no.

0.0%CAGR
0.2%buy & hold CAGR
−0.0%max drawdown
0.00Sharpe ratio
0round trips
■ momentum breakout   ■ buy & hold, $10,000 invested 2021-01-04

Year by year

Yearmomentum breakoutbuy & hold
20210.0%−1.6%
20220.0%−13.6%
20230.0%8.9%
20240.0%3.4%
20250.0%9.3%
20260.0%−3.3%

Each year in cash

The strategy returned 0.0% in every year from 2021 to 2026. Holding IGIB gave -1.6% for 2021 and -13.6% for 2022. The next three years were 8.9%, 3.4% and 9.3%, and 2026 so far is -3.3%.

The strategy beat the fund in 2021, 2022 and 2026, by 1.6, 13.6 and 3.3 points. It trailed in 2023, 2024 and 2025, by 8.9, 3.4 and 9.3 points. Those gaps are the fund's returns with the sign reversed, since the strategy earned nothing in any year.

2022 is the year that matters. The fund fell 13.97% on the profile, the worst calendar year in the data,. A 5-10 year investment-grade fund is meant to be a low-risk holding, and in 2022 it lost more than 13%. Its worst day that year was -1.76% on 2022-06-13, with -1.53% on 2022-09-26 and -1.21% on 2022-04-05 close behind. Bond funds fall in small daily steps, and 2022 was a long run of those steps. A momentum rule that buys only after a 10% burst never touches a slide like that. The strategy stayed flat and kept the full $10,000.

The recovery years went the other way. The fund rose 9.21% in 2023 and 9.56% in 2025 on the profile, and the strategy missed both. The three best days were +2.66% on 2022-11-10, +1.70% on 2022-09-28 and +1.47% on 2022-06-15, all in 2022, so even the biggest single-day rebounds came inside the bear year, and a 20-day return above 10% needs several such days in a row without a pullback.

Reading across the six years, the fund's total return of 1.26% on the profile means the whole period was close to flat for a buy-and-hold holder. The comparison is between a strategy that did nothing and a fund that went down, up and down again to finish near where it began. Not trading was a fair outcome for the window, though it gave no information about the rule.

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.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%
20230.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%
20240.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%
20250.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%
20260.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%––

The month table

The month-by-month table has no entries for the strategy. Every month is 0.0%, and the best and worst months listed in the data are placeholders for the first month of the test, 2021-01, at 0.

Holding the fund, November 2023 was the best month at 5.68% and September 2022 the worst at -4.67%. A fund whose best month is 5.68% cannot easily produce a 20-day gain above 10%. A 20-day window covers roughly one month, and the fund's strongest single month in the whole window was well short of 10%. That is the likely reason the entry never fired, and the facts support it as a description of the fund's range, though the exact 20-day maximum is not listed.

The fund's average returns by calendar month, taken across 5 or 6 observations each, ran from 2.58% in November to -1.44% in September. October averaged -0.96% and July 1.13%. Those averages sit within a band much narrower than the 10% the trigger needs.

Trades

There are no trades to list. The count is 0, nothing was open at the end of the test, and the average win, average loss, profit factor, hold times and win streaks are all undefined. The trade table on the rendered page is empty.

That leaves the entry rule as the thing to examine. While the account is out of the market, a 20-day return above +10% is needed, and the buy then goes in at the next open with 98% of the sleeve. After entry, a managed trailing stop ratchets up 10% below the highest close and never moves down. Neither half ran. The stop was never placed because nothing was bought.

The parameter variants below all failed in the same way. The empty result holds across settings.

Drawdowns

The strategy had no drawdown, because equity stayed at $10,000. The drawdown table is empty.

Buy-and-hold had three. The deepest was 20.13%, from a peak on 2021-08-03 to a low on 2022-10-20, 443 days later. It recovered on 2025-06-26, 980 days after the low. The profile lists the same episode at 20.62% and 977 sessions,, a slightly different figure from the strategy table because the profile uses the fund's own series. The fund also began a 4.78% drawdown on 2026-02-27. It bottomed on 2026-09-30 and was still unrecovered when the data ended. A third, of 4.00%, ran from 2021-01-04 to 2021-03-19 and recovered on 2021-07-19.

A fund that fell 20% from its August 2021 peak spent most of the window below its old high. On the profile, the longest drawdown ran 977 sessions. A holder of IGIB spent most of those years waiting to get back to even.

The strategy's drawdown gap to buy-and-hold is 20.13 points in its favour, the whole of the fund's drawdown. This is the clearest benefit of a rule that never triggers, and it comes entirely from being in cash. It is not evidence of skill in timing. The same cash position would have avoided a 20% fall on any fund, and it would also have missed every gain.

The Sharpe ratio of the strategy is 0 because there is no variation in equity. Buy-and-hold's Sharpe ratio was 0.07, which says the fund's return barely compensated for its volatility over the window.

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)0.0%−0.0%$10,0000.00
5 basis points0.0%−0.0%$10,0000.00
10 basis points0.0%−0.0%$10,0000.00

Trading costs

Cost runs charge 5 and 10 basis points on every fill. No fills means the three runs match exactly: 0% CAGR, 0% max drawdown, $10,000 final value and a Sharpe ratio of 0. The cost section of the page shows the same row three times.

This is the one case where a cost run has nothing to say. The more useful comparison is with the strategies that did trade IGIB. RSI mean reversion gave up 0.48% a year. The monthly cycle gave up 0.27% while drawing down 20.89%. Strategies that trade often on a fund with a total return near 1% have little room to cover their costs. The weekly 7% target lost 0.05% a year with a drawdown of 17.61%.

IGIB's own liquidity is moderate. Average daily dollar volume was $90,382,863 and the median minute volume was 1,684 shares. An order sized to a $10,000 account would be small against that, but there was no order to size here.

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules0.0%−0.0%0–$10,000
5% trailing stop0.0%−0.0%0–$10,000
15% trailing stop0.0%−0.0%0–$10,000
20% return entry0.0%−0.0%0–$10,000

Parameter variants

Three variants each changed one setting. A 5% trailing stop gave a CAGR of 0% with 0 trades. A 15% trailing stop gave 0% with 0 trades. A 20% return entry gave 0% with 0 trades. In all three the final value was $10,000, the drawdown 0% and the Sharpe ratio 0.

The two trailing stop variants were never going to matter, because the stop only acts after an entry. The 20% return entry is a stricter version of the trigger, so if the 10% rule did not fire, a 20% rule could not either. The more informative variant would have been a lower entry threshold, such as 5%, and the test does not include one.

What this table shows is that the empty result does not depend on the stop width. It depends on the entry, and the entry never fires on a fund this calm. To get trades on IGIB with this template, the entry threshold would have to be set well below 10%, and the facts do not say how many trades or what return that would give.

The template's published settings were built for high-momentum assets. Its own description names semiconductor and leveraged technology funds. On a fund that moves 0.30% on an average up day, the thresholds do not match the asset.

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

IGIB is an investment-grade corporate bond fund, with a 1.26% total return and a 0.22% CAGR on the profile from 2021-01-04 to 2026-10-02. Annualised volatility was 6.29%. It rose on 49.97% of days. The average up day was 0.30% and the average down day was -0.31%. The average daily range was 0.37% and the average overnight gap was 0.21%.

The return split by session is lopsided. The overnight share of the log return was 1,451.15% and the intraday share was -1,351.15%. The shares are large because the total return is near zero, so a small positive overnight return (17.90%) and a small negative intraday return (-16.67%) cancel almost fully. The fund gained overnight and gave it back during the day. A rule that buys at the open captures the intraday leg of that pattern.

On the fund profile the years read -1.62% (2021), -13.97% (2022), 9.21% (2023), 3.52% (2024), 9.56% (2025) and -3.40% (2026 so far). The fund's largest daily moves, 2.66% up on 2022-11-10 and 1.76% down on 2022-06-13, are small beside equity funds.

Correlations tell what IGIB follows. It correlated 0.84 with TLT, 0.35 with SPY and 0.34 with QQQ. The funds moving most like it were AGG and BND at 0.96, then IEF at 0.92, IEI at 0.89 and UST at 0.87. Its most negative correlations were TBF at -0.84, KMLM at -0.45 and USDU at -0.44. The funds trade as one block, and the 0% result on IGIB is shared by other bond funds: the category peers AGG, BND, IEF, IEI and SGOV all show 0% with 0 round trips for this strategy.

IGIB spent 66.27% of sessions above its 200-day average and crossed it 52 times. There were 0 events of a 10% fall from a 20-day high, so the dip buyer finds nothing here either. RSI(14) fell below 30 on 66 sessions, with a median 5-day forward return of -0.24% against a baseline of 0.02%, and a median 20-day return of -1.91% against 0.22%. After oversold readings the fund tended to keep falling in this window, the opposite of the usual mean-reversion pattern, which fits a year like 2022.

The rules

Buy after a +10% four-week burst and let a 10% trailing stop manage the exit.

  1. WHEN the market opens · IF not invested AND the 20-day return > +10% · THEN buy with 98% of the sleeve
  2. WHILE invested · a managed trailing stop follows 10% below the position's high-water mark

Momentum entry, trailing-stop exit. A +10% gain over 20 sessions marks a burst of momentum. The template buys the strength and exits on a 10% trailing stop that ratchets up beneath the highest close and never moves down. There is no profit target, so winners run until the trail is hit.

Good for: high-momentum assets where trends extend, such as semiconductor and leveraged tech ETFs.
Watch out: buying strength means buying high; when a burst immediately reverses, the trail exits about 10% below the entry.

How the rule fits this fund

A momentum entry looks for strength. The question the rule asks each morning is whether the fund gained more than 10% over the past 20 sessions. For IGIB, whose average up day is 0.30%, a 10% gain over 20 sessions would need a pace far above its normal movement. Annualised volatility of 6.29% sets the scale: this is a fund whose typical month is small.

On IGIB the template ranked 9th of 12. The EMA 12/26 trend led with a 2.35% CAGR and a 5.33% drawdown. Four rules made money. The golden cross earned 1.84% (drawdown 5.63%) and the SMA 10/50 trend 1.73% (6.63%). The 200-day regime filter earned 1.36% (5.44%) and the RSI(2) snapback 1.33% (11.79%). The 3-month momentum rule made 0.25% with a 4.99% drawdown. Trend plus trailing stop made 0.06% with 17.82%. The dip buyer also made 0% with no trades.

The pattern across the table is that the slow trend rules made small gains with drawdowns near 5%, and the rules that traded often or held through the whole slide lost money or drew down 17% to 21%. In a fund that finished near flat after a 20% fall, the best result came from rules that sat out the 2022 slide. This rule sat out all of it, and it also sat out 2023 and 2025.

IGIB ranks 32nd of the 59 ETFs for this strategy, whose median CAGR over all funds is 0%. Within the bond category the median was also 0%. TLT is the one bond fund with trades: 2 round trips, a CAGR of -1.2% and a max drawdown of 10.32%. Among the peers, AGG, BND, IEF, IEI and SGOV also sat out with no entry.

For a bond fund the rule defaults to cash, which is a safe but uninformative outcome. A user who wants a trend or momentum rule on IGIB would need a different entry from this template. The IGIB page compares all 12 templates on the fund, and the strategy page shows where the template did trade.

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

Over 2021-01-04 to 2026-10-02, momentum breakout on IGIB returned 0.0% annualized vs 0.2% for buy-and-hold: it trailed buy-and-hold by 0.2% per year, with a maximum drawdown 20.1 points shallower than holding (0.0% vs 20.1%).

How many trades did it make?

0 completed round trips over 5.7 years (0 fills).

How does the trailing stop work in the backtest?

The stop sits 10% below the highest price since entry and only ratchets up. When a bar trades through it, the position sells at the stop, or at the open if the price gaps below it. Trailing-stop exits can be backtested now; deploying them live is not available yet.

Why did the momentum breakout strategy make no trades on IGIB?

The entry needs a 20-day return above +10%, and IGIB did not produce one that the strategy could act on between 2021-01-04 and 2026-10-02. IGIB's annualised volatility was 6.29% and its best month was 5.68%. With no entry there were 0 fills.

How did buy-and-hold compare?

Buy-and-hold made a 0.21% CAGR and ended at $10,121, with a max drawdown of 20.13%. The strategy ended at $10,000 with no drawdown. The strategy trailed by 0.21 points a year and $121 in final value.

Would a different trailing stop have changed anything?

No. A 5% trail and a 15% trail both gave 0 trades and $10,000. The trailing stop only acts after an entry, and the entry never fired. A 20% return entry also produced 0 trades.

Did other strategies trade IGIB?

Yes. The EMA 12/26 trend made 2.35% a year with a 5.33% drawdown and ranked first of the 12. The golden cross made 1.84%, and the monthly cycle lost 0.27% with a 20.89% drawdown. The dip buyer also made no trades.

Is zero a good result for this strategy on a bond fund?

It is a neutral one. The strategy avoided the fund's 20.13% drawdown, and it also missed the 9.21% return in 2023 and 9.56% in 2025 on the profile. With no trades, the page shows nothing about how the rule behaves once it is invested.

Do trading costs matter on this page?

Not here. With 0 fills, the 5 and 10 basis point cost runs return the same $10,000 as the headline run. Costs matter for strategies that trade often on IGIB, such as the monthly cycle.

Related

20-Day Momentum + Trailing Stop 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.