Relative Strength Index (RSI): A Complete Guide for Traders

What the Relative Strength Index Actually Measures

The Relative Strength Index (RSI) is a momentum oscillator that measures the speed and magnitude of a security’s recent price changes. Developed by J. Welles Wilder Jr. and introduced in his 1978 book New Concepts in Technical Trading Systems, RSI has become one of the most widely used indicators in technical analysis — partly because it distills a complex question (“is this move running out of steam?”) into a single number between 0 and 100.

The core idea is comparison. RSI does not measure a stock’s strength against the broader market, despite what the name suggests. Instead, it compares the size of a security’s recent gains to the size of its recent losses, then expresses that relationship on a bounded scale. When gains dominate, the reading rises toward 100. When losses dominate, it falls toward 0. Most of the time, price action produces a mix of both, and RSI settles somewhere in the middle.

How RSI Is Calculated

You will rarely calculate RSI by hand — every charting platform does it for you — but understanding the formula clarifies why the indicator behaves the way it does.

The standard calculation uses a 14-period lookback and proceeds in two steps. First, Wilder computes the relative strength (RS), which is the average gain over the period divided by the average loss:

The two-step formula

Step one — Relative Strength: RS = Average Gain ÷ Average Loss, measured over the lookback period (typically 14 candles).

Step two — Normalization: RSI = 100 − [100 ÷ (1 + RS)]. This second step forces the output into the 0–100 range, no matter how extreme the underlying price moves become.

The 14-period default is Wilder’s original recommendation, and it remains the most common setting. Shorter periods (such as 7 or 9) make RSI more sensitive and produce more signals — along with more false ones. Longer periods (such as 21 or 25) smooth the line and generate fewer, higher-conviction signals. There is no universally correct number; the right setting depends on your timeframe and how much noise you are willing to tolerate.

Reading Overbought and Oversold Conditions

The most familiar use of RSI is identifying overbought and oversold conditions. By convention:

  • Above 70 is considered overbought — the recent buying may be overextended.
  • Below 30 is considered oversold — the recent selling may be overextended.

Here is where most beginners go wrong: an overbought reading is not a sell signal, and an oversold reading is not a buy signal. Overbought means strong, and strong markets can stay overbought for a long time. During powerful uptrends, RSI can pin above 70 for weeks while price continues higher. Traders who short every overbought reading in a trending market tend to get run over.

A more useful framing: overbought and oversold levels tell you about the character of the current move, not its imminent reversal. They are a caution flag, not a stop sign.

Divergence: RSI’s Most Valuable Signal

If overbought and oversold readings are RSI’s most famous feature, divergence is arguably its most valuable. Divergence occurs when price and RSI move in opposite directions, hinting that the momentum behind a trend is fading even though price has not yet turned.

Bearish divergence

Price makes a higher high, but RSI makes a lower high. The rally is reaching new price levels, but with less underlying momentum than before — a warning that buyers may be tiring.

Bullish divergence

Price makes a lower low, but RSI makes a higher low. Sellers are pushing price to new lows, but with diminishing force — a hint that a bottom may be forming.

Divergence is a leading signal, which makes it powerful and dangerous in equal measure. It can appear well before a reversal actually happens, and in strong trends it can appear repeatedly without any reversal at all. Experienced traders treat divergence as a reason to pay closer attention, not as a standalone trigger.

Common Mistakes to Avoid

RSI is simple to read and easy to misuse. A few recurring errors:

  • Fighting the trend. Selling every overbought reading or buying every oversold one, without regard for the larger trend, is a fast way to accumulate losses.
  • Using RSI in isolation. No single indicator tells the whole story. RSI works best when confirmed by price structure, volume, or a second, non-correlated indicator.
  • Ignoring the timeframe. An oversold reading on a 5-minute chart means something very different from an oversold reading on a weekly chart. Always know which timeframe you are reading.

Putting RSI to Work

RSI earns its popularity by being genuinely useful across markets and timeframes, from intraday forex to long-term equity investing. But its value comes from context. Used as a confirmation tool — alongside trend analysis, support and resistance, and sound risk management — it sharpens your read on momentum. Used as a mechanical buy-or-sell trigger, it will disappoint. Treat it as one instrument in a fuller toolkit, and it will repay the attention.