RSI
Indicator
RSI compares the size of recent gains with recent losses and turns the result into a score from 0 to 100. It shows when momentum is stretched, fading or turning.
Created by J. Welles Wilder Jr., 1978. Reviewed by the ChartLabs team, updated Nov 2026.
RSI is under 30. Selling is stretched. Watch for a move back above 30.
RSI 13.3 · MA 15.9
RSI is under 30. Selling is stretched. Watch for a move back above 30.
RSI 13.3 · MA 15.9
Illustration on simulated data.
Relative Strength Index (RSI)What is the RSI indicator?
RSI draws one purple line in its own panel, with a yellow moving average and dashed levels at 70, 50 and 30. The band between 30 and 70 is shaded, and the line fills green above 70 and red below 30.
When most of the last 14 bars closed higher, and by more than the down bars fell, RSI climbs toward 100. When losses dominate, it sinks toward 0.
Readings above 70 mean buyers have pushed hard. Below 30 means sellers have. Neither is a signal on its own: strong trends can stay stretched for a long time.
Bull and bear ranges
In uptrends RSI tends to hold between 40 and 80. In downtrends it tends to stay between 20 and 60. A shift in range can say more than a single 70 or 30 reading.
RSI or Stochastic RSI?
RSI measures momentum of price. Stochastic RSI measures where RSI sits inside its own recent range, so it moves faster and hits the extremes more often.
RSI signalsSix patterns to know.
Overbought
RSI above 70. Momentum is stretched to the upside. Many traders wait for it to turn back under 70.
Oversold
Many traders wait for RSI to cross back above 30 instead of buying the first dip under it.
Centerline cross
RSI crossing 50 shows which side controls momentum. Many traders use it as a trend filter.
Trend stays hot
In a strong uptrend RSI can hold between 60 and 80 for a long time. That is strength, not a top.
Bearish divergence
Price makes a higher high while RSI makes a lower high. Momentum is fading behind the move.
Bullish divergence
Price makes a lower low while RSI makes a higher low. Selling is losing force. Hidden divergence is the reverse pattern inside a trend and points to continuation.
RSI formulaHow it is calculated.
Split the changes
Compare each close with the one before it and split the changes into gains and losses.
Smooth both averages
Smooth both with Wilder's method: new average = (previous average x 13 + today's value) / 14. The first value is a plain 14-bar average.
Compare and scale
Divide average gain by average loss, then map it onto 0 to 100.
Worked example from the chart above
| Bar | Close | Change | Avg gain | Avg loss | RSI |
|---|---|---|---|---|---|
| 1 | 70,617.7 | +36.4 | 38.3 | 45.8 | 45.5 |
| 2 | 70,631.6 | +13.9 | 36.5 | 42.5 | 46.2 |
| 3 | 70,674.2 | +42.6 | 37.0 | 39.5 | 48.3 |
| 4 | 70,610.4 | -63.7 | 34.3 | 41.2 | 45.4 |
| 5 | 70,519.0 | -91.4 | 31.9 | 44.8 | 41.6 |
- Bar
- 1
- Close
- 70,617.7
- Change
- +36.4
- Avg gain
- 38.3
- Avg loss
- 45.8
- RSI
- 45.5
- Bar
- 2
- Close
- 70,631.6
- Change
- +13.9
- Avg gain
- 36.5
- Avg loss
- 42.5
- RSI
- 46.2
- Bar
- 3
- Close
- 70,674.2
- Change
- +42.6
- Avg gain
- 37.0
- Avg loss
- 39.5
- RSI
- 48.3
- Bar
- 4
- Close
- 70,610.4
- Change
- -63.7
- Avg gain
- 34.3
- Avg loss
- 41.2
- RSI
- 45.4
- Bar
- 5
- Close
- 70,519.0
- Change
- -91.4
- Avg gain
- 31.9
- Avg loss
- 44.8
- RSI
- 41.6
RSI settingsEvery setting, explained.
| Setting | Default | Range | What it changes |
|---|---|---|---|
| RSI Length | 14 | 1 to 5,000 (typical 2 to 50) | Shorter is jumpier. RSI 2 is a popular short-term setting. |
| Source | Close | Any price, or volume | Which values feed the calculation. |
| MA Length | 14 | 1 to 5,000 | How smooth the yellow simple moving average on top of RSI is. |
| Levels | 70 / 50 / 30 | Any | Many traders raise them to 80 / 20 in strong trends. |
- Setting
- RSI Length
- Default
- 14
- Range
- 1 to 5,000 (typical 2 to 50)
- What it changes
- Shorter is jumpier. RSI 2 is a popular short-term setting.
- Setting
- Source
- Default
- Close
- Range
- Any price, or volume
- What it changes
- Which values feed the calculation.
- Setting
- MA Length
- Default
- 14
- Range
- 1 to 5,000
- What it changes
- How smooth the yellow simple moving average on top of RSI is.
- Setting
- Levels
- Default
- 70 / 50 / 30
- Range
- Any
- What it changes
- Many traders raise them to 80 / 20 in strong trends.
Drag to see how the setting changes the lines and how many signals you get. Illustration on simulated data.
RSI strategiesUse it in 3 setups.
Cross back above 30
Waiting for the cross back above 30 avoids buying while selling is still accelerating.
The 50 line as a filter
Above 50, buyers control momentum. Many traders only take longs on that side.
Divergence as a warning
Divergence warns that momentum is fading. It is a reason for caution, not an exit by itself.
RSI mistakesCommon mistakes.
Shorting every reading above 70
In a strong uptrend RSI can stay above 70 while price keeps rising. Wait for it to turn back down.
Ignoring the higher timeframe
An oversold 5 minute RSI inside a daily downtrend is usually a pause, not a bottom.
Treating divergence as an instant reversal
Divergence warns that momentum is fading. Price can keep going for a while before it turns.
RSI combinationsPair it with these.
RSI + MACD
RSI shows how stretched momentum is. MACD shows when it shifts.
RSI + Bollinger Bands
An RSI extreme at the outer band is a stronger stretch than either alone.
RSI + EMA 200
Above the 200 EMA, traders often treat RSI dips toward 40 as pullbacks. Below it, rallies toward 60 as bounces.
RSI + Stochastic RSI
A faster version of RSI for short-term timing.
RSI FAQQuestions traders ask.
What does RSI 70 mean?
Momentum is stretched to the upside. Gains have outweighed losses by a wide margin over the last 14 bars. It is a reading, not a sell signal.
What are the best RSI settings for day trading?
14 is the standard. Some day traders use 7 to 9 for faster signals, with levels at 80 and 20 to cut noise.
RSI 14 or RSI 2?
RSI 14 shows broader momentum. RSI 2 is very fast and is used for short pullback trades inside a trend.
Is RSI leading or lagging?
RSI is built from past closes, so it lags price. Divergence can warn early that momentum is fading.
Does RSI work on crypto?
Yes. Crypto trends hard, so many traders move the levels to 80 and 20 and focus on the 50 line and divergence.
What is RSI divergence?
Price makes a higher high but RSI makes a lower high, or the reverse. Hidden divergence is the opposite pattern inside a trend and points to continuation.
What is a failure swing?
RSI climbs above 70, pulls back, fails to make a new high, then breaks below its pullback low. Wilder treated it as a stronger signal than a plain 70 or 30 reading.
Why is my RSI different from TradingView?
Usually the source, length or smoothing differs, or the chart has a different amount of history loaded. ChartLabs uses Wilder smoothing seeded with a 14-bar average, the same as TradingView.
Does RSI repaint?
No. RSI on closed bars never changes. The live bar updates until it closes.
Who created RSI?
J. Welles Wilder Jr. introduced RSI in 1978 in New Concepts in Technical Trading Systems.
Related indicatorsMore momentum tools.
All momentum indicatorsTry RSI on a live chart.
Free. No download.
Works in your browser and on iPhone too.