What is RSI (Relative Strength Index)?
Reviewed by Karthikeyan Anbarasan (Founder, TradeLyser) · Updated 19 Oct 2026 · Editorial policy
How RSI is calculated
- 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.
- For the first reading, average the gains and the losses of the last 14 bars.
- After that, smooth each average Wilder’s way: new average = (previous average × 13 + today’s value) ÷ 14.
- 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)
| Day | Change | Avg gain | Avg loss | RS | RSI |
|---|---|---|---|---|---|
| Start | 84.00 | 56.00 | 1.50 | 60.0 | |
| Day 1 | +140 | (84 × 13 + 140) ÷ 14 = 88.00 | (56 × 13 + 0) ÷ 14 = 52.00 | 1.69 | 62.9 |
| Day 2 | −200 | (88 × 13 + 0) ÷ 14 = 81.71 | (52 × 13 + 200) ÷ 14 = 62.57 | 1.31 | 56.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
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
Stochastic
Relative strength
Reference guide
| Context | Value | Reading |
|---|---|---|
| RSI above 70 in a strong uptrend | Strength | Can stay above 70 for many sessions; shorting it alone is fading the trend |
| RSI under 30 at a tested support level in a range | Context fits | Still wait for price to turn; RSI can keep falling while the support breaks |
| RSI values compared across platforms or settings | Mismatch | Different 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.