Home / Academy

Academy · · 10 min · By Álvaro García

RSI Indicator: What It Is, How to Calculate and Use It

RSI indicator explained: the formula with a step-by-step example, how to read 70 and 30 depending on the trend, divergences, best settings and common mistakes.

RSI Indicator: What It Is, How to Calculate and Use It

Contents

  1. What is the RSI indicator in trading?
  2. How to calculate the RSI step by step
  3. How to read the RSI: overbought, oversold and the 50 line
  4. RSI divergence and failure swings
  5. Best RSI settings: 14, 9 or 2 periods
  6. Real example (November 2026): bitcoin was oversold and kept falling
  7. Common mistakes when using the RSI
  8. How to combine the RSI with other tools
  9. RSI summary table
  10. Frequently asked questions

In short: the RSI (Relative Strength Index) is an oscillator running from 0 to 100 that measures the strength of up moves against down moves over the last 14 periods. Readings above 70 are called overbought and readings below 30 oversold, but in a strong trend the RSI can sit in those zones for a long time: it gives you context, not a buy or sell signal.

The RSI indicator tells you, in a single number between 0 and 100, whether an asset's recent gains have been stronger than its recent losses. It is calculated with the formula RSI = 100 − 100 / (1 + RS), where RS is the average gain divided by the average loss over the last 14 periods.

In this guide you'll learn where the Relative Strength Index comes from, how to calculate it by hand with a step-by-step example, how to read it depending on the trend, the mistakes most traders make with it, and why an RSI of 26 did not stop bitcoin from falling in November 2026.

What is the RSI indicator in trading?

The RSI, short for Relative Strength Index, is a momentum oscillator that measures the speed and size of recent price changes on a scale from 0 to 100. High readings mean gains are dominating; low readings mean losses are dominating.

It was created by the American engineer J. Welles Wilder Jr. and published in 1978 in his book New Concepts in Technical Trading Systems, the same book in which he introduced the ATR and the Parabolic SAR. Almost half a century later, the RSI comes as standard in MetaTrader, TradingView and practically every broker platform.

Don't confuse it with "relative strength" in the sense of comparing two assets (for example, a stock against the S&P 500). The RSI only looks at the asset's own price.

How to calculate the RSI step by step

Platforms do the maths for you, but understanding the formula prevents a lot of misreadings. Following Wilder's method as set out by StockCharts' ChartSchool, the process is:

  1. Work out the change in each close versus the previous one over 14 periods.
  2. Split gains from losses. On up days, the gain is the change and the loss is 0; on down days, the loss is the change expressed as a positive number and the gain is 0.
  3. First average: add up the gains and divide by 14; do the same with the losses.
  4. RS = average gain / average loss.
  5. RSI = 100 − 100 / (1 + RS).
  6. From the next period onwards, smooth the averages: new average gain = (previous average gain × 13 + today's gain) / 14. The same applies to losses.

Wilder's smoothing is why two platforms can show slightly different values for the same asset: the result depends on how much history was used to start the calculation. If the average loss is zero, the RSI is 100; if the average gain is zero, it is 0.

Worked example: a 14-period RSI

Imagine a stock with these 15 daily closes: 100.0 · 101.5 · 100.8 · 102.2 · 103.0 · 102.1 · 103.4 · 104.1 · 103.2 · 104.6 · 105.3 · 104.5 · 105.9 · 106.4 · 105.6. The 14 changes are:

  • Up days (9): +1.5; +1.4; +0.8; +1.3; +0.7; +1.4; +0.7; +1.4; +0.5. Total: 9.7.
  • Down days (5): −0.7; −0.9; −0.9; −0.8; −0.8. Total: 4.1.

Average gain = 9.7 / 14 = 0.6929. Average loss = 4.1 / 14 = 0.2929. RS = 0.6929 / 0.2929 = 2.366. RSI = 100 − 100 / 3.366 = 70.3. The stock has just moved into overbought territory.

The next day it closes at 104.0, a fall of 1.6. Applying the smoothing:

  • New average gain = (0.6929 × 13 + 0) / 14 = 0.6434.
  • New average loss = (0.2929 × 13 + 1.6) / 14 = 0.3862.
  • RS = 0.6434 / 0.3862 = 1.666 → RSI = 100 − 100 / 2.666 = 62.5.

The practical lesson: a single strong candle against you moves the RSI by almost 8 points, even though the price has only pulled back 1.5%. That is why the RSI is sensitive and throws up lots of signals; your job is to pick out the ones that matter.

How to read the RSI: overbought, oversold and the 50 line

Wilder treated readings above 70 as overbought and below 30 as oversold. The right reading, however, depends on the underlying trend:

RSI zoneUsual labelWhat it really means
Above 70OverboughtRecent gains are very strong. In an uptrend this can last for weeks.
50 to 70Bullish momentumBuyers are in control without being overextended.
50Centre lineAverage gains and losses are balanced (RS = 1).
30 to 50Bearish momentumSellers are in control without being overextended.
Below 30OversoldRecent losses are very strong. In a downtrend this can last for weeks.

RSI ranges in bull and bear trends

Analyst Constance Brown, in Technical Analysis for the Trading Professional, observed that in uptrends the RSI tends to move between 40 and 90, with the 40-50 zone acting as support, while in downtrends it moves between 10 and 60, with the 50-60 zone acting as resistance. That changes how you use it:

  • In a bull market, an RSI that dips to 40-45 and turns back up usually signals a healthy pullback, not a change of trend.
  • In a bear market, an RSI that rises to 55-60 and rolls over tends to mark the end of a bounce, not a bottom.
  • Crossing the 50 line works as a simple filter: above it, favour bullish scenarios; below it, bearish ones.
  • If the RSI clearly breaks out of its typical range (for example, climbing above 60-65 in the middle of a downtrend), it is a hint that the regime may be changing.

RSI divergence and failure swings

Wilder put more weight on these two signals than on the 70 and 30 levels.

Divergences

A bullish divergence occurs when price makes a lower low while the RSI makes a higher low: the price is falling, but with less force. A bearish divergence occurs when price makes a higher high and the RSI a lower high. They warn of fading momentum, not an immediate reversal: in strong trends several divergences can appear in a row before price changes direction, if it changes at all.

Failure swings

A bullish failure swing happens when the RSI drops below 30, bounces back above 30, pulls back without breaking 30 again and then clears its previous high. The bearish version is the mirror image above 70. Its advantage is that it focuses on how the indicator itself behaves rather than on a fixed level.

Best RSI settings: 14, 9 or 2 periods

The 14-period setting is the standard because it is the one Wilder proposed and the one almost the whole market uses, which has value in itself: many traders are watching the same levels. Changing it has consequences:

SettingBehaviourTypical use
RSI 14, levels 70/30BalancedStandard setting on daily and 4-hour charts
RSI 9 or lower, levels 80/20Faster, with more false signalsIntraday; the more extreme levels offset the sensitivity
RSI 2, levels 90/10Very reactiveVery short-term pullbacks within a trend
RSI 21 to 25Slower and steadierWeekly charts and longer-term analysis

No setting is "the best". If you change the period, change the levels too, and check how the signals have behaved in that asset's history before putting real money at risk.

Real example (November 2026): bitcoin was oversold and kept falling

On 13 November 2026, bitcoin fell below $70,000 and hit an intraday low of $67,500 on Bitstamp. According to the technical analysis published that day by Bitcoin.com News, the 14-period daily RSI stood at 26, below the classic 30 threshold, and the price was trading below all 15 moving averages the outlet tracked.

Many readers take an RSI of 26 to mean "it's cheap, it's going to bounce". That is not what happened over the following days: as we explained in how low can bitcoin go, two days later, on 15 November, the price fell to around $62,000, its lowest level since July, according to The Block. FXStreet's analysis from the same day explained why: its oversold gauge (a stochastic RSI) had been in extreme territory since mid-October while outflows from US spot ETFs, forced liquidations and the rise in the 10-year Treasury yield above 5% weighed on the market. None of those factors feeds into the RSI calculation.

What this case teaches about the indicator:

  • Oversold is not support. The RSI measures how fast price is falling, not whether it is cheap.
  • In a downtrend, the useful range is 10-60, as Brown described. A reading of 26 is consistent with a normal downtrend.
  • Flows trump the oscillator when there are forced sellers (liquidations, fund redemptions) who sell without looking at the chart.

Common mistakes when using the RSI

  1. Selling just because the RSI goes above 70 or buying just because it drops below 30. In strong trends it is the quickest way to trade against the market.
  2. Ignoring the underlying trend. Before looking at the RSI, decide whether the asset is in an uptrend, a downtrend or a range (for example, using the 200-day moving average).
  3. Confusing the RSI with the stochastic RSI. The Stoch RSI applies the stochastic formula to the RSI, is much faster and uses different levels (20/80). When you read "oversold" in a news story, check which indicator they mean.
  4. Seeing divergences everywhere. A divergence without confirmation from price (a break of a trendline or a previous high) is only a warning.
  5. Trading the signal without a stop loss. The RSI does not tell you where you are wrong. Set your stop loss based on price structure and check whether the risk-reward ratio makes the trade worthwhile.
  6. Optimising the period until the past fits. An 11-period RSI with 77/23 levels that worked on one asset for six months rarely holds up outside that sample.

How to combine the RSI with other tools

The RSI works better as a context filter than as a trigger. A structured way to use it:

  1. Trend: establish the direction with the pattern of highs and lows or a long moving average.
  2. Zone: identify the support and resistance levels where acting would make sense.
  3. RSI: use it to see whether momentum confirms. In an uptrend, a pullback to support with the RSI at 40-50 that turns back up is more consistent than an RSI of 30 in free fall.
  4. Risk: size the position so that you only risk a small percentage of your account on each trade.

Trading with leverage, CFDs or cryptocurrencies can make you lose money faster than you expect; read our risk warning. No indicator, the RSI included, guarantees results.

RSI summary table

ConceptKey fact
Creator and yearJ. Welles Wilder Jr., 1978
FormulaRSI = 100 − 100 / (1 + RS); RS = average gain / average loss
Standard period14
Overbought / oversold70 / 30 (80/20 on fast settings)
Range in an uptrendRoughly 40-90
Range in a downtrendRoughly 10-60
Wilder's signalsDivergences and failure swings
Main limitationIt can stay in an extreme zone for an entire trend

Frequently asked questions

What does an RSI of 30 mean?

That the average losses over the last 14 periods are a little more than double the average gains (RS ≈ 0.43). It signals an oversold market, meaning a fast decline, but not that the price is about to bounce.

Which is better, RSI or MACD?

They measure different things. The RSI is an oscillator bounded between 0 and 100 that measures the relative strength of gains and losses; the MACD compares two exponential moving averages and is better at following the trend. Many traders use the MACD for direction and the RSI for momentum.

What is the best timeframe for the RSI?

On daily and 4-hour charts there is usually less noise, so signals tend to be less frequent and more stable. Intraday it produces many more false signals, so it is worth using more extreme levels.

Why doesn't my RSI match another platform's?

Because of Wilder's smoothing: the value depends on how much history the calculation starts from and on the closing time of each candle, which varies between brokers. In addition, some platforms use simple averages (Cutler's variant) or standard exponential averages instead of Wilder's smoothing. The differences are usually just a few points.

Does the RSI work for cryptocurrencies?

Yes, it is calculated in the same way, but cryptocurrencies have more violent trends and the RSI can spend longer in extreme zones, as bitcoin showed in November 2026.