Momentum indicators

Relative Strength Index (RSI): Formula, the 70 and 30 Levels, and What They Did on Real Prices

Wilder’s RSI from his own formula: how 14 bars of gains and losses become a 0 to 100 reading, the four ways traders read it, what 70 and 30 did on the S&P 500 ETF and on Bitcoin, and how Blau’s True Strength Index differs.

· Founder of PatternsWizard
Checked 10 min read
RSI(14)
On this page
  1. How RSI is calculated
  2. How to read RSI
  3. The 70 and 30 levels on real prices
  4. The True Strength Index, a smoother cousin
  5. Does RSI work?
  6. Frequently asked questions

The Relative Strength Index (RSI) compares the size of recent up closes with the size of recent down closes and scales the result from 0 to 100. J. Welles Wilder described it in his 1978 book New Concepts in Technical Trading Systems, with a 14-period default and with 70 and 30 as the overbought and oversold levels. It is one of the best-known momentum oscillators, and a high reading is easy to misread: a high RSI describes a strong advance, not a market that has to fall. Below, the formula as Wilder wrote it, the ways to read it, and what the 70 and 30 levels did on a year of daily S&P 500 ETF prices and on Bitcoin.

RSI(14) on the daily S&P 500 ETF

781.6703.9626.17030Oct 30, 2025Apr 30, 2026Oct 28, 2026
  • Price, daily candles (hollow up, filled down)
  • RSI(14), Wilder averages (solid line)
RSI(14) on S&P 500 ETF, dividend-adjusted prices, daily, October 30, 2025 to October 28, 2026. Illustration of how the indicator reads, not a backtest.

How RSI is calculated

Each bar, take the change from the previous close. An up change counts as a gain and a down change as a loss, written as a positive number. Wilder averages the gains and the losses with his own smoothing: the first average is the simple mean of the first 14 values, and each later average keeps 13/14 of the previous one and adds 1/14 of the new value. The ratio of the two averages is the relative strength, RS, and RSI rescales it.

Because of the smoothing, RSI keeps a memory of every past bar, with a weight that shrinks over time. Two platforms can show slightly different values on the same chart if they started the calculation on different bars. On our daily S&P 500 ETF series, an RSI(14) started 300 bars later than another differed from it by 1.76 points on its first value, 0.22 point 43 bars after its start and 0.004 point 100 bars after its start.

How to read RSI

ReadingWhat it says
Above 70Wilder’s overbought zone: the average gain is more than 2.33 times the average loss
50Average gain and average loss are equal
Below 30Wilder’s oversold zone: the average loss is more than 2.33 times the average gain
Rising toward 100Down closes have been rare or small
Falling toward 0Up closes have been rare or small

Average gain divided by average loss at each RSI level

0.010.11RSI 100.11RSI 30, Wilder's oversold line0.43RSI 501.00RSI 70, Wilder's overbought line2.33RSI 909.00
Our computation; the inputs and the method are in the text. Logarithmic scale: equal distances mean equal ratios, and each power of ten sits the same distance from the next.From the formula: RS = RSI / (100 − RSI). Log scale around 1, where gains and losses balance.

StockCharts lists three more signals, two of them from Wilder himself: divergences and failure swings, which he read as signs of a coming reversal. A divergence is a new price high without a new RSI high, or the reverse at a low. A failure swing is a pattern inside the indicator itself: in the bullish version RSI falls below 30, bounces, pulls back without going under 30 again, then breaks above its bounce high. A centerline cross, above or below 50, is read as a shift in momentum. Constance Brown added the idea of ranges: in an uptrend RSI tends to hold between 40 and 90, and in a downtrend between 10 and 60, so a dip to 40 in a bull market can be a buying zone rather than a warning.

The four RSI divergences

Regular bearishPrice: higher highRSI: lower highRegular bullishPrice: lower lowRSI: higher lowHidden bearishPrice: lower highRSI: higher highHidden bullishPrice: higher lowRSI: lower low
Schematic, not market data. The RSI is read on the swing bars of price, not on its own peaks and troughs.

The 70 and 30 levels on real prices

The 250-day chart above shows RSI(14) on the daily S&P 500 ETF from October 30, 2025 to October 28, 2026, 250 trading days. We counted every cross of the two levels in that window and looked at the close 20 trading days later.

RSI crossClose that dayChange 20 days later
Below 30 on March 27, 2026630.89+12.79%
Back above 30 on March 31647.06+9.42%
Above 70 on April 16, 2026698.12+6.63%
Above 70 on April 22707.63+4.22%
Above 70 on April 24710.34+4.44%
Above 70 on April 30715.04+5.26%
Above 70 on May 5720.12+4.21%
Above 70 on May 26746.81−2.06%

The single oversold episode, two sessions in late March, came near the low of the spring decline, and the ETF was 12.79% higher a month later. The six overbought crosses all came in the rally that followed. Twenty days after the first five, the ETF was higher; only the sixth, on May 26, was followed by a lower close. A trader who sold short at each cross above 70 would have stood against the strongest leg of the year. RSI also stayed between 40 and 90 on 234 of the 250 days, which fits Brown’s bull market range; it fell under 40 on only 16 days, 12 of them between March 6 and March 30, 2026, around the spring low. Bitcoin, over its own window, spent 37 days under 40, 31 of them between May 27 and July 1, 2026.

Days in each RSI(14) zone over the last 250 sessions

Below 302930 to 40142840 to 50617550 to 7015112370 to 902215
  • S&P 500 ETF
  • Bitcoin
Our computation; the inputs and the method are in the text.Daily closes; ETF from October 30, 2025 and Bitcoin from February 21, 2026, both to October 28, 2026. No day reached 90.

Bitcoin over its own last 250 days, from February 21 to October 28, 2026, shows the other side. RSI went under 30 on June 2 with a close of 66,760.83, kept falling to its window low of 15.47 on June 6, and crossed back above 30 on June 11 at 63,625.99, 4.70% below the first oversold close. Twenty days after that June 11 recovery the close was 5.66% lower again. In the other direction, RSI crossed above 70 on August 19 at 69,334.79, rose to its window high of 85.95 on August 21, and Bitcoin was 13.16% higher twenty days after the cross. That was the first of the window’s four crosses above 70; the next ones, on August 31, September 3 and September 21, were followed twenty days later by +3.30%, +3.85% and −3.29%, so three of the four were followed by a higher close. On both markets, in this window, the extreme readings came with the trend and not against it.

Bitcoin 20 days after each RSI(14) cross, 2026

Below 30, June 2−4.11%Back above 30, June 11−5.66%Above 70, August 19+13.16%Above 70, August 31+3.30%Above 70, September 3+3.85%Above 70, September 21−3.29%
Our computation; the inputs and the method are in the text.Change from the close of the cross day to the close 20 daily bars later; window February 21 to October 28, 2026.

The True Strength Index, a smoother cousin

William Blau’s True Strength Index (TSI) starts from the same raw material, the change from one close to the next, but it smooths that change twice with exponential averages, 25 and then 13 periods, and divides it by the same double smoothing of its absolute value. Blau presented the trading method in the May 1992 issue of Stocks and Commodities, after introducing the indicator in November 1991. TSI runs from −100 to +100 in theory but has no fixed overbought level; TradingView notes that a signal line is usually an EMA of 7 to 12 periods of TSI.

True Strength Index on the daily S&P 500 ETF

781.6703.9626.1054.5−38.0Oct 30, 2025Apr 30, 2026Oct 28, 2026
  • Price, daily candles (hollow up, filled down)
  • TSI(25, 13) (solid line)
  • Signal, EMA(7) (solid line, second color)
TSI(25, 13, 7) on S&P 500 ETF, dividend-adjusted prices, daily, October 30, 2025 to October 28, 2026. Illustration of how the indicator reads, not a backtest.

The double smoothing removes most of the small turns. Over the same 250 days on the S&P 500 ETF, TSI crossed zero 10 times and its 7-day signal line 23 times, when RSI(14) crossed its own midpoint of 50 38 times. TSI ranged from −31.63 on March 30, 2026 to 48.13 on May 14, 2026. The cost is lateness: TSI reacts to a new trend more slowly than RSI.

Does RSI work?

We have no long-run measurement of RSI: our bench tests chart patterns detected by rule against random entries, not indicators (see our methodology). The crosses above are two markets over one year, worked through to show how the levels behave, not a test. In that year, reading 70 as a sell signal would have been wrong on the ETF, and 30 as a buy signal wrong on Bitcoin in June. A fair test would run a fixed RSI rule on many markets and decades, with costs, against a random entry.

For more momentum tools, see the stochastic oscillator, which compares the close with the recent range, the Stochastic RSI, which applies that formula to RSI itself, the MACD, or the full list of momentum indicators.

Frequently asked questions

What is a good RSI to buy?

There is no level that is good in itself. Wilder treated readings below 30 as oversold, and Constance Brown observed that in an uptrend RSI often holds above 40. On the S&P 500 ETF from October 2025 to October 2026, the only dip below 30, two sessions in late March, came near the spring low; on Bitcoin in June 2026, the first reading below 30 was followed by a further fall of 4.70% before RSI recovered.

What does RSI tell you?

How large the recent up closes were compared with the recent down closes, on a 0 to 100 scale. Above 50 the average gain is larger than the average loss; above 70 it is more than 2.33 times larger.

Is an RSI below 30 a buy or a sell?

Wilder called it oversold, which is a description, not an order. In a downtrend RSI can stay below 30 while the price keeps falling, so one approach is to wait for a turn, such as a cross back above 30 or a bullish RSI divergence, and even then the next move is not certain.

How do you calculate RSI?

Average the gains and the losses of the last 14 closes with Wilder’s smoothing, divide the average gain by the average loss to get RS, then compute 100 − 100 / (1 + RS). The formula box above gives each step.

What is the difference between RSI and the True Strength Index?

Both measure the balance of up and down closes. RSI uses one Wilder average and ranges from 0 to 100 with fixed 70 and 30 levels; TSI smooths the price change twice with exponential averages, runs around zero, and has no fixed overbought level. TSI turns later and gives fewer signals.

Sources

  1. StockCharts ChartSchool, Relative Strength Index (RSI)
  2. StockCharts ChartSchool, True Strength Index
  3. William Blau, Trading With The True Strength Index, Stocks and Commodities, May 1992 (article listing)
  4. TradingView Help Center, True Strength Index
, Founder of PatternsWizard

Passionate about finance, quantitative trading and data analysis. Amaury built the PatternsWizard test bench, which detects each pattern on full price history and measures what happened next against random entries.

PatternsWizard tests chart and candlestick patterns on full market history, against random entries. How we test patterns.

179 patterns testedRandom-walk self-test passed

All momentum indicators articles