Learn › Strategies › RSI(14) Mean Reversion › IEI

RSI(14) Mean Reversion on IEI

iShares 3-7 Year Treasury Bond ETF: shorter-duration Treasuries with milder swings. Backtest 2021-01-04 to 2026-10-02, $10,000 starting capital, computed by the same engine that runs live DeployQuant strategies.

Result: RSI mean reversion on IEI turned $10,000 into $9,884 (−1.2% total, −0.2% CAGR): it beat buy-and-hold by 0.2% per year, with a maximum drawdown 5.2 points shallower than holding (8.7% vs 13.8%).

The RSI(14) mean reversion rule won 11 of 16 closed trades on IEI and still lost money. It ended at $9,884 from a $10,000 start, a total return of -1.16% and a CAGR of -0.2%, over 2021-01-04 to 2026-10-02. IEI is the iShares 3-7 Year Treasury Bond ETF, a shorter-duration Treasury fund with milder swings than long bonds. Holding it over the same window returned -0.36% a year and ended at $9,793. The rule was ahead by 0.16 points of CAGR and $91 of final value.

A 69% win rate and a negative CAGR belong together here because of the size of the trades. The average winner returned 1.18% and the average loser returned -2.4%. The profit factor was 1.05. One trade, held for 240 days from 2021-09-29 to 2022-05-27, lost 6.49%, and it cancelled most of what several winners earned.

The rule was invested on 50.3% of trading days, and its maximum drawdown was 8.65% against 13.8% for holding. The Sharpe ratio was -0.05 against -0.06. In calendar terms it beat holding in 2021, 2022 and 2026 and trailed in 2023, 2024 and 2025. The wins came in the one bad bond year and the lag came in the recovery.

On the library's ranking, this template is ninth of 12 on IEI. Across 59 funds the rule's median CAGR was 2.98%, and IEI is fortieth best of the 59 for it. Among the seven bond funds the median was -0.23%, so IEI at -0.2% sits in the middle of a group that mostly lost small amounts.

−0.2%CAGR
−0.4%buy & hold CAGR
−8.7%max drawdown
-0.05Sharpe ratio
16round trips
69%win rate
■ RSI mean reversion   ■ buy & hold, $10,000 invested 2021-01-04

Year by year

YearRSI mean reversionbuy & hold
2021−1.2%−2.5%
2022−5.6%−9.3%
20232.1%4.3%
20241.7%1.9%
20252.8%6.6%
2026−0.7%−2.4%

Month by month

YearJanFebMarAprMayJunJulAugSepOctNovDec
20210.0%−0.6%−0.8%0.5%0.3%0.2%0.0%0.0%0.1%−0.8%0.3%−0.4%
2022−1.4%−0.5%−3.0%−1.9%1.2%1.8%1.1%−0.5%−2.8%−0.6%1.2%−0.2%
20232.5%−0.5%1.8%0.0%−0.0%−1.2%0.0%0.0%−1.3%−0.6%1.3%0.0%
20240.0%0.4%0.8%−0.1%1.0%0.0%0.0%0.0%0.0%−0.8%0.6%−0.1%
20250.4%0.0%0.0%0.0%0.8%0.1%0.0%0.0%0.1%0.7%0.7%0.0%
20260.3%0.5%−0.4%0.6%0.6%0.1%−0.5%0.1%−2.0%0.1%––

Every trade

RSI mean reversion on IEI made 16 closed round trips and one position still open at the end of the test, an average hold of 57 days, an average winner of 1.18%, an average loser of −2.40%, a profit factor of 1.05, a longest losing streak of 2. It held a position at the close on 50.3% of trading days.

EntryEntry priceExitExit priceReturnDays held
2021-02-17$114.852021-06-10$114.35−0.4%113
2021-09-29$113.742022-05-27$106.36−6.5%240
2022-06-13$103.102022-07-06$106.183.0%23
2022-08-25$104.482022-11-11$101.56−2.8%78
2022-12-29$102.232023-01-19$104.672.4%21
2023-02-15$102.372023-03-14$103.731.3%27
2023-05-24$104.592023-11-08$102.78−1.7%168
2024-02-23$105.032024-03-11$106.351.3%17
2024-04-17$104.192024-05-09$105.140.9%22
2024-10-07$109.712024-12-04$109.11−0.6%58
2024-12-20$108.492025-02-03$109.130.6%45
2025-05-21$111.322025-06-05$112.360.9%15
2025-09-29$114.722025-10-15$115.660.8%16
2025-11-06$115.452025-11-26$116.240.7%20
2026-01-21$115.722026-02-10$116.660.8%20
2026-03-16$116.442026-04-17$116.720.2%32
2026-05-18$115.20open–−1.8%–

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.

What the trade list shows

Of 16 closed trades, 11 won, a win rate of 69%. The average winner was 1.18% and the average loser was -2.4%. The median trade returned 0.81%. The average hold was 57.2 days and the median was 27, ranging from 15 days to 240. Six wins in a row was the best run, and two losses in a row the worst.

The pattern splits cleanly by hold length. The five longest holds, 240, 168, 113, 78 and 58 days, all lost, with returns of -6.49%, -1.73%, -0.44%, -2.79% and -0.55%. Every winner was held between 15 and 45 days. The rule's exit needs RSI above 70, and on a fund that rarely trends, a position can wait a long time for it. While it waits, price can slide.

The five best trades returned 2.99%, 2.39%, 1.33%, 1.26% and 0.93%. The five worst returned -6.49%, -2.79%, -1.73%, -0.55% and -0.44%. The largest winner was less than half the size of the largest loser. A rule with no stop will produce a loss tail that a win rate hides, and here the one large loss is visible even in a fund with volatility under 5%.

Sorted by the year each trade closed, the record reads 0 wins from 1 trade (2021), 1 from 3 (2022), 2 from 3 (2023), 2 from 3 (2024), 4 from 4 (2025) and 2 from 2 (2026). From the start of 2023 onward, 10 of 12 closed trades won. The two exceptions were the 168-day hold of 2023 and the 58-day hold of 2024.

Reading the 69% against the -0.2%

The two headline numbers answer different questions. The win rate counts how often a trade closed above its entry, and the CAGR measures what the account did over five and three-quarter years. With winners averaging 1.18% and losers averaging -2.4%, eleven small gains and five losses leave the account close to flat. The loss of 6.49% on the position closed in 2022 is the largest single number in the list, and a window that left out that one position would read differently.

That sensitivity is the main limit of the result. Sixteen closed trades is a small sample, and one of them carries the outcome. The pattern of long losers and short winners is the more reliable observation, since it repeats: the five longest holds all lost.

Entries and exits around 2022

The exit signal is an RSI reading, and the price at the exit can still sit below the entry. The clearest case is the 2022-08-25 trade. The rule bought at 104.48 and sold on 2022-11-11 at 101.56 for -2.79%. IEI's best day of the window, +1.45% on 2022-11-10, came the session before that sale. The rebound pushed RSI(14) over 70 from a very low level, and the rule sold into it while the price was still under its own entry.

The best trade started on the fund's worst day. IEI fell 1.09% on 2022-06-13, the largest one-day drop in the window, and the rule bought at 103.10 that same day. It sold on 2022-07-06 at 106.18 for 2.99% in 23 days. The two next-best entries came in at similarly low prices: 102.23 on 2022-12-29 and 102.37 on 2023-02-15. The three lowest entries of the test were the three biggest winners, which fits a rule that pays when the fund is washed out and the bounce comes fast.

The 2021 and 2025 entries sit at the other end. The position opened on 2021-09-29 at 113.74, took 240 days to close, since the rule waited for RSI to recover above 70. The entries of 2025 and 2026 came in the 114 to 116 range, and the exits were 0.24% to 0.93% higher. Those trades made small profits because the fund barely drifted between entry and exit.

The open position was bought on 2026-05-18 at 115.20 and was marked at -1.76% on 2026-10-02. It has been held for months, which is the profile of the long losers in the list. The mark can change, and a future exit would decide where it falls in the trade table.

Largest drawdowns

PeakLow pointDepthDays to lowRecoveredDays to recover
2021-02-182022-10-20−8.7%6092026-02-051204
2026-06-262026-09-28−2.7%94not yet–
2026-03-172026-03-26−1.2%92026-04-1722

Buy-and-hold's deepest drawdown ran from 2021-01-04 to 2022-10-20 and reached −13.8%.

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.2%−8.7%$9,884-0.05
5 basis points−0.5%−8.9%$9,728-0.13
10 basis points−0.8%−9.2%$9,572-0.22

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules−0.2%−8.7%1669%$9,884
RSI < 25 / > 70−1.1%−8.1%944%$9,401
RSI < 35 / > 70−0.5%−9.8%1872%$9,735
RSI < 30 / > 650.2%−7.5%1963%$10,129
RSI < 30 / > 75−0.2%−11.2%1369%$9,869

How IEI behaved

MeasureIEI
Data in this test2021-01-04 to 2026-10-02 (1444 sessions)
Total return, buy and hold−2.3%
Annualized volatility4.6%
Deepest drawdown−14.2% (2021-01-04 to 2022-10-20)
Up days48.2%
Average daily range0.25%
Average overnight gap0.16%
Correlation to SPY0.08
Correlation to QQQ0.09
Correlation to TLT0.80
Sessions above the 200-day average59.2%
Crossings of the 200-day average42
Falls of 10% or more from a 20-day high0

The rules

Buy when the 14-day RSI drops below 30 (oversold), sell when it recovers above 70 (overbought).

  1. WHEN the market opens · IF not invested AND RSI(14) < 30 · THEN buy with 98% of the sleeve
  2. WHEN the market opens · IF invested AND RSI(14) > 70 · THEN sell the whole position

A standard mean-reversion setup. The Relative Strength Index measures how stretched recent price action is. Readings under 30 have historically marked short-term washouts in uptrending assets. This template buys at the next session open and holds until RSI crosses back above 70. It has no profit target and no stop.

Good for: assets that trend up over time but overshoot on the way, such as broad index ETFs.
Watch out: in a persistent downtrend, RSI can stay oversold for weeks while the position keeps losing; there is no stop-loss in this template.

What the rule asks of a bond fund

A buy happens at the open once RSI(14) sits under 30 with the account flat, sized at 98% of the sleeve, and the whole position is sold at an open when RSI(14) is over 70. No profit target or stop sits in between. The template notes say it suits assets that trend up over time but overshoot on the way, such as broad index funds, and they warn that in a persistent downtrend the RSI can stay oversold for weeks while the position keeps losing.

IEI makes a poor fit on both counts. It had an annualized volatility of only 4.57% and a total return of -2.25% as a fund, so there is no upward drift for the rule to ride, and moves are small enough that an RSI reading under 30 does not mark a large washout. The fund closed above its 200-day average on 59.2% of sessions but crossed that line 42 times, which is a lot of back and forth for a fund that barely moved over five years.

The signal did fire often. RSI(14) was under 30 on 64 sessions and over 70 on 46. After those oversold sessions, the median fund return over the next 5 sessions was -0.11% against a baseline of -0.03%, and over the next 20 sessions it was -0.65% against 0.04%. Those are medians from 63 and 55 observations, and they say the oversold reading did not predict a rebound in this fund and window.

Year-by-year results

The rule returned -1.2% in 2021 against -2.5% for holding. It made one closed trade that year, the entry of 2021-02-17 at $114.85 that closed on 2021-06-10 at $114.35, a loss of 0.44% after 113 days. A second position, entered on 2021-09-29 at $113.74, was open for the rest of the year and into the next.

2022 was the weak year for the whole bond market in this window. Holding IEI lost 9.3%, and the rule lost 5.6%, which is the largest gap in its favour at 3.7 points. The long position from 2021-09-29 closed on 2022-05-27 at $106.36 for -6.49%, the worst trade of the test. Two more trades closed that year. The entry of 2022-06-13 at $103.10 closed on 2022-07-06 at $106.18 for 2.99%, the best trade of the test, in 23 days. The entry of 2022-08-25 at $104.48 closed on 2022-11-11 at $101.56 for -2.79%. The rule won one of the three trades closed in 2022, and still came out ahead of the fund because it was in cash for parts of the decline.

2023 returned 2.1% against 4.3%. Three trades closed and two won: 2.39% from 2022-12-29 to 2023-01-19, and 1.33% from 2023-02-15 to 2023-03-14. A third, entered on 2023-05-24 at $104.59, was held for 168 days and closed on 2023-11-08 for -1.73%.

2024 returned 1.7% against 1.9%, with three closed trades and two wins. The entries of 2024-02-23 and 2024-04-17 won 1.26% and 0.91%. The entry of 2024-10-07 lost 0.55% over 58 days.

2025 returned 2.8% against 6.6% for holding, and it is the one year when the rule was right on every trade: four closed, four won. They returned 0.59%, 0.93%, 0.82% and 0.68%, with holds of 45, 15, 16 and 20 days. The shortfall against holding, 3.8 points, was the largest of the six years, because small short trades cannot match a fund that climbed through the year.

2026, a partial year to 2026-10-02, returned -0.7% against -2.4%. Two trades closed and both won, 0.81% from 2026-01-21 and 0.24% from 2026-03-16. A position was entered on 2026-05-18 at $115.20 and was still open at the last close with a mark of -1.76%.

Month by month

The month table has many zeros. In 2021, July and August were flat, and January as well. In 2024 the rule was in cash from June through September. In 2025 it was flat in March, April, July, August and December. A flat month means the account held no position all month.

The best month was 2023-01 at 2.49%, from the entry of 2022-12-29. Others above 1% were 2023-03 at 1.78%, 2022-06 at 1.78%, 2022-05 at 1.23%, 2022-11 at 1.18%, 2022-07 at 1.1%, 2023-11 at 1.3% and 2024-05 at 1.02%. The worst month was 2022-03 at -3.04%, the same figure as for holding, followed by 2022-09 at -2.84% and 2026-09 at -1.97%.

2026-09 stands out. The rule had been holding since 2026-05-18 and the fund fell, so September cost 1.97% in one month. That is larger than the open trade's total mark of -1.76%, because earlier months of the same trade had gained. The position is marked to market and could still move either way.

The calendar averages for the fund give a sense of why months are hard to read here. The average November return was 1.32% and the average September was -0.98%, and each average uses only five or six observations.

Drawdowns of the account

The deepest drawdown of the rule began at a peak on 2021-02-18 and reached 8.65% on 2022-10-20, 609 days later. The account returned to that peak on 2026-02-05, 1,204 days after the trough. A second drawdown of 2.71% began on 2026-06-26, reached its low on 2026-09-28 and had not recovered by the end of the test. The third was 1.18%, from 2026-03-17 to 2026-03-26, recovered on 2026-04-17.

Holding the fund produced a 13.8% drawdown from the start on 2021-01-04 to the same low on 2022-10-20, recovered on 2025-10-16 after 1,092 days. A later drawdown of 3.88% began on 2026-02-27 and ran to 2026-09-28 without recovering. Both series bottomed on 2022-10-20, the fund's own low. The rule fell less because it spent part of the decline in cash.

A recovery of 1,204 days from the trough is a long time for a bond fund. The fund's longest drawdown was 1,201 sessions. A rule that gives up part of the return in exchange for a shallower fall is a trade-off, and here neither side of the trade was large.

Cost runs

Every fill in the headline run happens at the bar price. Charging 5 basis points a fill moves the CAGR to -0.48%, the final value to $9,728 and the Sharpe ratio to -0.134, with an 8.91% drawdown. Charging 10 basis points gives -0.76%, $9,572, -0.222 and 9.24%. The rule made 33 fills.

On a fund whose trades averaged 1.18% on the winning side, friction is a large share of the edge. The test shows what a small cost does to a small edge: the rule's CAGR was already below zero, and each cost step moved it further down. A fund with a bond-like profile and trades of a percent or two leaves very little room for slippage.

IEI itself trades an average of $172,230,207 a day, with a median minute volume of 1,292, so the fund is liquid enough that these cost levels are a modest assumption for small orders.

Threshold variants

Four variants moved one threshold at a time. Buying under 25 instead of 30 returned -1.07% and ended at $9,401, with 9 trades and 4 wins. Buying under 35 returned -0.47% and ended at $9,735, with 18 trades and 13 wins. Selling above 65 instead of 70 returned 0.22%, ending at $10,129, with 19 trades, 12 wins and a drawdown of 7.51%. Selling above 75 returned -0.23% and a drawdown of 11.22%, with 13 trades and 9 wins.

Only the earlier exit, RSI above 65, finished with a positive CAGR and a positive Sharpe ratio, 0.089. It was also the shallowest drawdown of the five versions. Taking profit sooner meant less time exposed to the slide that cost the published rule on its long holds. The final value was $10,129, a small gain that one window can produce by chance, so it reads as a hint and not a finding.

The tighter entry, under 25, made fewer trades and won less than half of them. It waited for deeper washouts that rarely came in a fund that moved so little.

How IEI behaved

IEI's total return as a fund was -2.25% with annualized volatility of 4.57%, and its worst drawdown was 14.21% from 2021-01-04 to 2022-10-20, recovered on 2025-10-16. The fund closed up on 48.23% of days. The average up day was 0.22% and the average down day was -0.21%, in an average daily range of 0.25%. No fall of 10% or more from a 20-day high occurred.

Beta to SPY was 0.02 and the correlation to SPY was 0.08. The correlation to TLT was 0.8. The fund's closest relatives are IEF at 0.97, AGG at 0.94, BND at 0.94 and UST at 0.91. The most negative correlation was with TBF at -0.8.

Among bond funds the rule returned 0% on SGOV with no trades, -0.23% on AGG and BND, -0.48% on IGIB, -0.84% on IEF and -5.4% on TLT, where the drawdown was 35.95%. IEI had the shallowest drawdown among bond funds that traded.

Several templates earned a little on IEI. The trend plus trailing stop returned 1.43% with a 5.2% drawdown, the RSI(2) snapback 1.42% and the SMA 10/50 trend 1.24% with the shallowest drawdown at 3.21%. The golden cross made 1.09%, and the monthly cycle lost 0.84%. The dip buyer and the momentum breakout did not trade at all. The page of all strategies on IEI ranks them, and the RSI mean reversion hub lists the 59 funds.

Every number here belongs to a single 5.7-year test. Headline fills carry no fees, decisions are made daily, and listed prices are adjusted for splits and dividends. Nothing here is a forecast.

Intraday drag, RSI(2) readings and the calendar

IEI gained 4.78% overnight and lost 6.95% during trading hours, in log terms. The whole loss of the fund came inside the session. The rule buys and sells at the open, so every position it held took the session move and the next overnight gap together, and the overnight part was the only source of gain in the fund.

The short-term oscillator told the same story as the 14-day one. RSI(2) fell below 10 on 183 sessions. The median 5-day return after those readings was -0.04%, against a baseline of -0.03%, and the 20-day median was -0.02%, against 0.04%. A fund with an average daily range of 0.25% moves too little for either oscillator to separate a washout from ordinary noise. The lag-1 autocorrelation of daily returns was -0.01, close to zero.

The rule's weak months line up with the fund's weak calendar months. September averaged -0.98% and October -0.72% for the fund, and the rule lost 2.84% in September 2022, 1.26% in September 2023, 1.97% in September 2026, 0.85% in October 2024 and 0.55% in October 2023. November averaged 1.32% for the fund, and the rule made 1.18% in November 2022, 1.3% in November 2023 and 0.66% in November 2025. Each calendar month has 5 or 6 observations, so the agreement describes this window only.

The fund's biggest up days came in March 2023, with +1.2% on 2023-03-13 and +1.16% on 2023-03-10. The rule held a position through that run, from 2023-02-15 to 2023-03-14, and made 1.33%. March 2023 was one of its better months at 1.78%. March 2022 was the reverse, with the rule and the fund both losing 3.04%.

Run RSI mean reversion on IEI 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 RSI mean reversion beat buy-and-hold on IEI?

Over 2021-01-04 to 2026-10-02, RSI mean reversion on IEI returned −0.2% annualized vs −0.4% for buy-and-hold: it beat buy-and-hold by 0.2% per year, with a maximum drawdown 5.2 points shallower than holding (8.7% vs 13.8%).

How many trades did it make?

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

Why RSI 30/70?

They are the conventional oversold and overbought bands from Welles Wilder's original formulation. Treat them as a starting point. In DeployQuant you can change them to 25/65 or anything else and re-backtest in seconds.

Does this strategy use a stop-loss?

No. The only exit is RSI recovering above 70. Adding a stop or a take-profit block is a one-block edit in the Lab.

Is RSI mean reversion ahead of simply holding IEI?

Only by a hair. The rule returned -0.2% a year against -0.36% for holding, and ended at $9,884 against $9,793. Its maximum drawdown was 8.65% against 13.8%. Both lost money over 2021-01-04 to 2026-10-02.

How can the win rate be 69% when the strategy lost money?

The average winner returned 1.18% and the average loser returned -2.4%, so the typical loss was larger than the typical win. One 240-day trade lost 6.49%. The profit factor was only 1.05.

How many trades did the rule make on IEI?

It made 16 closed round trips and left one position open at the end of the test. Eleven won. Holds ranged from 15 to 240 days, with a median of 27.

Which parameter change helped on IEI?

Selling above 65 instead of 70 returned 0.22% a year with a 7.51% drawdown, the only variant with a positive CAGR. Buying under 25 returned -1.07%. Each change was a single test on one window.

What do trading costs do to this rule on IEI?

At 5 basis points per fill the CAGR was -0.48% and at 10 basis points it was -0.76%. The rule made 33 fills with winners averaging 1.18%, so costs take a large share of each trade.

Does RSI below 30 predict a rebound in IEI?

Not in this window. After the 64 sessions with RSI(14) under 30, the median 5-day return was -0.11% against a baseline of -0.03%, and the median 20-day return was -0.65% against 0.04%.

Related

RSI(14) Mean Reversion on all 59 ETFsfull results table All strategies on IEI12 templates compared RSI(2) Dip Snapback on IEIsame ETF, different rulesGolden Cross (SMA 50/200) on IEIsame 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.