RSI Indicator Explained: Formula and 70/30 Levels
Last updated September 4, 2026

The RSI indicator (Relative Strength Index) is a momentum oscillator that scores recent price changes from 0 to 100 using RSI = 100 - [100 / (1 + RS)], where RS is the average gain divided by the average loss over 14 periods. J. Welles Wilder Jr. published it in 1978. Above 70 is called overbought, below 30 oversold.
Key takeaway
What is the RSI indicator?
RSI is a momentum oscillator introduced by J. Welles Wilder Jr. in his 1978 book New Concepts in Technical Trading Systems. It belongs to the same family of momentum tools as the other technical indicators we cover, and it remains one of the most widely referenced momentum gauges in technical analysis. This page explains what the indicator is and how it is built; if you are looking for period choices by trading style, see best RSI settings, and for the short-period mean-reversion system see the RSI 2 strategy.
The indicator answers a simple question: how strong has recent price movement been relative to itself? It compares the average size of recent gains to the average size of recent losses, then converts that ratio into a single number between 0 and 100. A high reading means up-days have dominated recently, while a low reading means down-days have dominated. Because it oscillates within fixed bounds, RSI is easy to read across very different assets and timeframes.
How is RSI calculated? (the formula)
RSI uses a two-step calculation built around average gains and average losses over a lookback period (Wilder's default is 14 periods).
The main equation is:
RSI = 100 - [ 100 / (1 + RS) ]
RS = Average Gain / Average Loss
Step 1, the first average over the past 14 periods:
First Average Gain = (Sum of Gains over 14 periods) / 14
First Average Loss = (Sum of Losses over 14 periods) / 14
Step 2, Wilder's smoothing for every period after that:
Average Gain = [ (previous Average Gain x 13) + current Gain ] / 14
Average Loss = [ (previous Average Loss x 13) + current Loss ] / 14
Gains and losses are based on close-to-close changes and are always entered as positive numbers. If today closes higher, that day's change counts as a gain; if it closes lower, the absolute drop counts as a loss. If the close is unchanged, the day adds neither a gain nor a loss. The smoothing step (a Wilder smoothed moving average, not a simple average) is why RSI values stabilize over time. Roughly 250 data points are recommended for a reading that matches other charting platforms.
What do overbought and oversold mean?
Wilder's original thresholds set overbought at RSI above 70 and oversold at RSI below 30. The midpoint, 50, acts as a centerline: readings above 50 generally reflect net upward momentum, and readings below 50 reflect net downward momentum.
The key nuance is context. Overbought and oversold readings are most informative when price is moving sideways in a range, because the boundaries tend to mark the upper and lower edges of that range. In strong trends, the same readings are far less reliable, since momentum can stay elevated for long stretches. Always treat 70 and 30 as zones that warrant attention rather than as mechanical instructions.
What is RSI divergence?
Divergence occurs when price and RSI move in opposite directions, which can hint at a weakening trend and a potential reversal. There are two classic forms.
- Bullish divergence: price makes a lower low, but RSI makes a higher low. This suggests selling momentum is fading and is most meaningful when it appears in oversold territory.
- Bearish divergence: price makes a higher high, but RSI makes a lower high. This suggests buying momentum is fading and is most meaningful in overbought territory.
Divergence is more dependable on higher timeframes and should be confirmed with other tools such as volume, a break of support or resistance, or candlestick patterns. A major caution: in a strong trend, divergence can persist for a long time, with price continuing to print new highs against several lower RSI highs before any reversal occurs (or without one at all). Divergence alone is not a setup.
Failure swings and reversals (advanced)
Wilder also described failure swings, a reversal pattern that does not require divergence. A bullish failure swing happens when RSI drops below 30, bounces above it, pulls back but holds above 30, then breaks its prior RSI peak; the bearish version mirrors this around the 70 level. Later, analyst Andrew Cardwell refined the framework with positive and negative reversals: a positive reversal pairs a higher price low with a lower RSI low (read as bullish within uptrends), and a negative reversal pairs a lower price high with a higher RSI high (read as bearish within downtrends).
What RSI settings and timeframes work best?
The standard setting is 14 periods, and it applies to any timeframe, whether daily, hourly, or intraday. Adjusting the lookback changes the indicator's character.
| Setting | Behavior | Often used for |
|---|---|---|
| Short (5, 7, 9) | More sensitive, more signals, more noise | Day trading, scalping, 1 to 15 minute charts |
| Standard (14) | Wilder's balanced default | General use across timeframes |
| Long (21) | Smoother, fewer but steadier signals | Swing and longer-term analysis |
Shorter periods generate more signals at the cost of more false ones; longer periods smooth the line and reduce signal count while improving reliability. With faster settings, traders sometimes widen the bands to 20/80 to filter noise. Another practical adjustment is shifting the thresholds for the trend regime: in strong uptrends, some analysts use bands closer to 40 and 80, while in downtrends they shift toward 20 and 60. This counters RSI's tendency to stay pinned at one extreme during persistent trends.
Common RSI mistakes and limitations
RSI is powerful but easy to misuse. The most frequent errors come from treating it as a standalone, mechanical system.
- Reading 70/30 as automatic triggers. This is the single most common mistake and a recipe for premature exits and false signals.
- Fighting strong trends. RSI can stay above 70 throughout a strong uptrend and below 30 throughout a strong downtrend. Per the CMT Association, in uptrends RSI highs often reach roughly 80 to 90 with lows near 40 to 50, while in downtrends highs cap around 55 to 65 with lows near 20 to 30, so fixed 70/30 bands misread trending markets.
- Whipsaws. RSI is more reliable in ranging markets than in trending ones, where false signals multiply.
- Lag. Because RSI is derived from past closing prices, its signals can arrive late in fast-moving markets.
- Persistent divergence. As noted above, divergence can run against price for a long time before resolving, if it resolves at all.
- Using it alone. RSI works best alongside trend analysis, volume, chart patterns, and support and resistance.
What can an AI chart reader see in an RSI pane?
Worth being precise about, because it changes what you should ask for. If the RSI pane is included in the screenshot and the axis labels are legible, an AI chart reader like Bullynx can read the current level, see where the line sits relative to the 70 and 30 bands, trace the shape of the last several swings, and compare those swings against the price highs and lows above to flag a divergence. That is genuinely useful, because divergence is a visual relationship and vision models are good at visual relationships.
What it cannot do is recompute the RSI from the candles alone. Deriving Wilder's smoothed averages needs the closing prices to the tick, and a screenshot gives pixel positions, so any value read off the candles instead of the pane is an estimate. It also does not know which period the pane is set to unless the legend shows it: a line labelled only "RSI" could be 14, 7, or 21, and those tell different stories. And it cannot see the history beyond the left edge of the image, so an RSI that has been pinned above 70 for two months looks identical to one that crossed 70 yesterday if the crop starts today. If the period matters to your question, crop the legend into the shot and say which period you are using.
Putting RSI in context
Think of RSI as one lens, not the whole picture. It tells you how stretched momentum has become and where it may be losing steam, but it cannot tell you on its own whether a move will reverse or simply pause. The strongest reads come from combining a momentum signal with the broader trend, the location of key price levels, and confirmation from volume or price patterns. Used that way, RSI becomes a disciplined way to ask better questions about a chart rather than a shortcut to answers.
Frequently asked questions
- What is the RSI indicator?
- The RSI, or Relative Strength Index, is a momentum oscillator created by J. Welles Wilder Jr. in 1978. It compares the average size of recent gains to the average size of recent losses over 14 periods and plots the result on a 0 to 100 scale.
- What does RSI stand for in trading?
- RSI stands for Relative Strength Index. The name refers to the strength of a market relative to its own recent price history, not relative to another asset. That second idea is comparative relative strength, which is a different tool entirely.
- What is the RSI formula?
- RSI = 100 - [100 / (1 + RS)], where RS is the average gain divided by the average loss over the lookback period. The first averages are simple 14-period averages, and every reading after that uses Wilder smoothing: (previous average x 13 + current value) / 14.
- Is an RSI above 70 a sell signal?
- No. An RSI above 70 means price has risen quickly relative to its recent range, which is information, not an instruction. In a strong uptrend the RSI can hold above 70 for weeks while price keeps climbing, so the reading is a prompt to check the trend and the level, not a trigger.
- What is RSI divergence?
- RSI divergence is when price and the RSI point in opposite directions. Price making a higher high while the RSI makes a lower high is bearish divergence; price making a lower low while the RSI makes a higher low is bullish divergence. Both signal fading momentum, not a guaranteed turn.
- What RSI period should I use?
- Wilder's 14 is the default and the most widely used across timeframes. Shorter periods such as 7 or 9 react faster and fire more often, and longer periods such as 21 are smoother. The period choice by trading style is covered in our guide to the best RSI settings.
About this byline
Markets & product research
The Bullynx editorial team researches and reviews the trading concepts, indicators, and tools we write about. Our articles are educational and are reviewed for accuracy before publishing. They are not financial advice.
Not sure what your indicators are telling you? Upload your chart and Lynx AI reads the signals in context: trend, levels, and whether the indicator agrees with price.
Keep reading
- Williams %R Indicator Explained SimplyTechnical Indicators
- CCI Indicator: Commodity Channel IndexTechnical Indicators
- RSI Divergence: Regular vs Hidden, and How to TradeTechnical Indicators
- Stochastic Oscillator Explained: How It WorksTechnical Indicators
- What Is the ADX Indicator? Trend Strength GuideTechnical Indicators
- ATR Indicator: Average True Range ExplainedTechnical Indicators
Educational only. Not financial advice. NFA. Bullynx is not a registered investment adviser or broker-dealer. Trading and investing involve significant risk of loss. Read the full risk disclosure or how this article was researched and reviewed.