Technical Analysis

What is RSI (Relative Strength Index)?

Reviewed by Karthikeyan Anbarasan (Founder, TradeLyser) · Updated 19 Oct 2026 · Editorial policy

DefinitionThe Relative Strength Index (RSI) is a momentum oscillator, developed by J. Welles Wilder, that compares average gains with average losses over a lookback, usually 14 periods, on a 0 to 100 scale. If Nifty’s 14-day average gain is 84 points and its average loss is 56 points, RS is 1.5 and RSI is 60 (illustrative).
Formula
RSI = 100 − 100 ÷ (1 + RS), where RS = Average gain ÷ Average loss over 14 periods, smoothed by Wilder’s method
Example
Illustrative: RS = 84 ÷ 56 = 1.5; RSI = 100 − 100 ÷ 2.5 = 100 − 40 = 60

How RSI is calculated

  1. For each bar, record the gain (close up versus the prior close) or the loss (close down, as a positive number). The other value is zero.
  2. For the first reading, average the gains and the losses of the last 14 bars.
  3. After that, smooth each average Wilder’s way: new average = (previous average × 13 + today’s value) ÷ 14.
  4. Divide average gain by average loss to get RS, then RSI = 100 − 100 ÷ (1 + RS).

Wilder’s smoothing is a form of exponential average, so every past bar still has a small effect. That is why two platforms that load different amounts of history can show slightly different RSI values for the same day. Some platforms use a simple or standard exponential average instead; check which one yours uses.

Worked example on Nifty daily closes (illustrative)

DayChangeAvg gainAvg lossRSRSI
Start84.0056.001.5060.0
Day 1+140(84 × 13 + 140) ÷ 14 = 88.00(56 × 13 + 0) ÷ 14 = 52.001.6962.9
Day 2−200(88 × 13 + 0) ÷ 14 = 81.71(52 × 13 + 200) ÷ 14 = 62.571.3156.6

A 140-point up day lifts RSI by under 3 points, while a 200-point down day the next session drops it by about 6. Because each new bar only carries a 1/14 weight, RSI moves gradually on a 14-period setting, and a single large candle rarely pushes it from neutral to an extreme.

Reading the levels

Above 70
Traditional overbought zone. In ranges, a possible fade area; in trends, a sign of strength.
50 to 70
Gains outweigh losses. Many traders treat RSI holding above 50 as bullish momentum.
30 to 50
Losses outweigh gains. Rallies that fail below 50 point to bearish momentum.
Below 30
Traditional oversold zone. In downtrends, RSI can stay here for many sessions.

Some traders shift the bands with the trend, a commonly cited idea being that RSI tends to hold roughly 40 to 80 in uptrends and 20 to 60 in downtrends. Treat these as rules of thumb to test, not fixed facts.

How traders use RSI and log it

  • Range fades: buy near support with RSI under 30 and turning up, or sell near resistance with RSI over 70 and turning down.
  • Trend filter: take long pullback entries only while RSI stays above 40 or 50.
  • Divergence: price makes a higher high while RSI makes a lower high. It warns that momentum is fading; it is not a timing signal on its own.
  • Journal: log the RSI value, period and timeframe at entry, and tag whether you bought strength or faded it. After 30 or more trades per tag, compare expectancy.

RSI

Smoothed average gains vs losses over 14 bars, close to close. Moves gradually.
Default: 14, levels 70/30

Stochastic

Where the close sits in the 14-bar high-low range. Moves faster and reaches extremes more often.
Default: 14, 3, 3, levels 80/20

Relative strength

A stock’s performance against a benchmark. Not an oscillator and not bounded.
Needs: a benchmark
For Indian traders
RSI works close to close, so on intraday Nifty or Bank Nifty charts the first bar after 9:15 carries the whole overnight gap as one large gain or loss. A gap-up open can push 5-minute RSI above 70 in the first few bars; many traders ignore RSI signals until the opening range has formed.

Reference guide

ContextValueReading
RSI above 70 in a strong uptrendStrengthCan stay above 70 for many sessions; shorting it alone is fading the trend
RSI under 30 at a tested support level in a rangeContext fitsStill wait for price to turn; RSI can keep falling while the support breaks
RSI values compared across platforms or settingsMismatchDifferent smoothing or history length gives different numbers; log the platform and period

Questions

What is a good RSI level to buy?

There is no universal level. In a range, readings under 30 that turn up near support are the classic buy area; in an uptrend, pullbacks that hold around 40 to 50 are more often used. Test the rule on your own trades.

How is RSI calculated?

Average the gains and losses over 14 periods, smooth them with Wilder’s method, divide average gain by average loss to get RS, and compute 100 − 100 ÷ (1 + RS).

Does RSI above 70 mean the stock will fall?

No. It means recent gains have far outweighed losses. In a strong trend RSI can stay above 70 for days or weeks while price keeps rising.

Which RSI period is best for intraday trading in India?

14 is the standard. Some intraday traders use shorter periods such as 7 or 9 for faster signals, which also produce more false extremes. Keep one setting per setup and log it.

Why is my RSI different from another platform’s?

Platforms differ in smoothing (Wilder, simple or exponential), the amount of history loaded and the price source. Small differences are normal; use one platform for decisions and records.

Related terms