The RSI indicator: formula, signals and settings

The RSI (Relative Strength Index) is a momentum indicator that measures the strength of recent gains and losses on a scale from 0 to 100. J. Welles Wilder introduced it in 1978, and it is still one of the most widely used technical indicators.

How is the RSI calculated?

The RSI compares the average gain with the average loss over a period, usually 14 candles:

  1. For each candle, take the change in the close from the previous one. Rises count as gains, falls as losses.
  2. Calculate the average gain and the average loss over the period.
  3. Find the relative strength: RS = average gain / average loss.
  4. Turn it into the RSI: RSI = 100 − 100 / (1 + RS).

Example: over the last 14 candles, the average gain is 1.2 and the average loss 0.8. RS = 1.2 / 0.8 = 1.5, so RSI = 100 − 100 / 2.5 = 60.

In Wilder's original method, the averages are smoothed with each new candle. Some platforms instead use the plain sum of gains and losses over the last N candles. Both point the same way, but the values are not identical.

How to read the RSI

What is a good RSI level?

There is no single right number; the RSI has to be read in context, not as a buy or sell button:

Choosing the period

Wilder recommended 14 periods, and that is still the most common setting. Shorter periods (6–9) make the RSI more sensitive: it reaches the extremes more often and gives more signals. Longer periods (21–24) give a smoother line that only shows clear extremes. Plotting a short and a long period together makes it easy to compare short-term swings with the main trend.

Limitations of the RSI

The RSI is derived from price, so it does not lead price; it only measures how fast price is moving. An overbought stock can keep rising and an oversold one can keep falling. The RSI works better alongside trend indicators, such as moving averages or MOST, and the company's financials.

The RSI in Gonofin

This guide is for information only and is not investment advice. No indicator guarantees future price movements.

Last updated:

CONTACT

Write to us.

Send us your question, feedback or partnership idea and we’ll reply by email.