The RSI Indicator, Explained
How the RSI indicator works: the best settings, reading overbought and oversold, spotting divergence, and using RSI without getting trapped in trends.
Key takeaways
- RSI is a bounded 0 to 100 momentum oscillator, default length 14 with 70/30 thresholds.
- Overbought and oversold only mean reversal in a range; in a trend RSI can stay pinned at extremes.
- The 50 midline is an underrated trend-bias filter.
- Divergence is a warning of weakening momentum, not a standalone entry trigger.
- RSI works best as one input alongside price structure and trend context, on candle close.
The RSI (Relative Strength Index) is a momentum oscillator that measures the speed and size of recent price moves on a scale from 0 to 100. Traders read it to judge whether a market is stretched to the upside (readings above 70, often called overbought) or the downside (readings below 30, often called oversold), and to spot momentum shifts before price confirms them. It was introduced by J. Welles Wilder in 1978 and remains one of the most widely used indicators in crypto, stock, and forex charts.
What the RSI indicator measures
RSI compares the average of recent up closes to the average of recent down closes over a lookback window (14 periods by default). The result is squeezed onto a bounded 0 to 100 line, so it never runs off the chart the way raw price does. A high reading means up moves have dominated recently; a low reading means down moves have dominated.
Because the scale is fixed, RSI is useful for comparing momentum across very different instruments. A reading of 75 means the same relative thing on Bitcoin, on the S&P 500, and on EUR/USD, even though their prices and volatility are nothing alike. That is the core appeal of a bounded oscillator: it standardizes momentum into one comparable number.
What RSI does not measure: it is not a measure of trend direction on its own, and it is not a volume tool. It only describes the balance of recent up versus down price pressure. Treating an overbought reading as an automatic sell signal is the single most common misuse, and we cover why below.
How RSI is calculated
You do not need to compute RSI by hand, but understanding the mechanism explains its quirks. The formula is:
RSI = 100 - (100 / (1 + RS)), where RS = average gain / average loss over the lookback period.
Two things follow directly from that math. First, RSI uses a smoothed (Wilder) average, so a single large candle moves it, but its effect decays over the following bars rather than dropping off a cliff. Second, when there are no losses in the window, average loss approaches zero, RS becomes very large, and RSI pins near 100. That is why a strong, clean trend can hold RSI above 70 for a long time without any pullback. The indicator is behaving correctly; it is telling you momentum is one-sided.
RSI is a closed-form calculation on completed candles. When the current candle is still forming, the RSI value drifts with price and only settles when the bar closes. This matters for anyone building or trading signals, and it is the root of most "the indicator changed on me" complaints. A signal that is only valid on candle close will not move after the fact.
RSI settings that matter
The default is a 14-period RSI with 70/30 thresholds, and there is no magic in those numbers beyond Wilder's original choice and decades of habit. Shorter lengths react faster and fire more often (more signals, more noise); longer lengths are slower and steadier. The table below lists commonly used configurations and what each trades off. Test on your own instrument and timeframe rather than copying a number because it appears often.
| Setting | Common value | Effect | Typical use |
|---|---|---|---|
| Length | 14 (default) | Balanced responsiveness | General swing and position analysis |
| Length | 7 to 9 | Faster, noisier, more signals | Intraday and scalping |
| Length | 21 to 25 | Slower, smoother, fewer signals | Higher timeframes, trend filtering |
| Thresholds | 70 / 30 | Standard overbought / oversold | Range-bound markets |
| Thresholds | 80 / 20 | Stricter, fewer extremes | Strong trends, volatile crypto |
| Midline | 50 | Momentum bias divider | Trend confirmation, not reversal |
A practical note on thresholds: in a strong trend, shift the band. Many traders use 40 as a floor for RSI in an uptrend (dips that hold above 40 keep the trend intact) and 60 as a ceiling in a downtrend. This adapts the oscillator to conditions instead of fighting them with fixed 30/70 lines.
Reading RSI signals
There are three honest ways to read RSI, and they are not equally reliable in all conditions.
Overbought and oversold
Readings above 70 or below 30 flag stretched momentum. In a sideways, range-bound market these extremes often precede a mean reversion. In a trending market they do not; price can stay overbought for weeks. Use extremes as a reversal cue only when you already have evidence the market is ranging, such as a flat moving average or a defined support and resistance box.
The 50 midline
The center line is underrated. RSI holding above 50 signals that up momentum has the upper hand; below 50 signals the opposite. Using 50 as a bias filter (only take long setups while RSI is above 50) turns RSI into a trend-alignment tool rather than a counter-trend one, which is often the safer role.
Failure swings and midline crosses
A move from below 30 back above it, or a cross of the 50 line, can mark a momentum shift earlier than a moving-average crossover. These are confirmation cues, not standalone triggers. The strongest RSI signal, divergence, gets its own section next.
Reading RSI across timeframes
The same reading carries very different weight depending on the timeframe it appears on, and mixing timeframes is one of the most effective ways to use the indicator. A reading of 30 on a weekly chart describes a deep, slow washout; a reading of 30 on a one-minute chart happens many times a day and means little on its own. Higher-timeframe readings move more slowly, appear less often, and tend to be more meaningful.
A simple multi-timeframe routine is to let a higher timeframe set the bias and a lower timeframe time the entry. For example, use the daily RSI holding above 50 to confirm an up-bias, then look for an oversold pullback on the hourly RSI to enter in that direction. This keeps you trading with the larger momentum instead of fighting it, which is the recurring theme of using RSI well. Read every value in the context of the length and timeframe that produced it: a 7-period RSI hitting 80 is routine, while a 21-period RSI at 80 is rarer and stronger.
RSI divergence
Divergence is the signal most traders come to RSI for, because it can hint at exhaustion before price turns. It occurs when price and RSI disagree about momentum.
Regular (reversal) divergence
Bearish divergence: price prints a higher high, but RSI prints a lower high. The new price peak was made on weaker momentum, which warns that the up move may be running out of fuel. Bullish divergence: price prints a lower low, but RSI prints a higher low. The new low was made on less selling pressure, hinting at a possible bottom.
Hidden (continuation) divergence
Hidden divergence points the other way and suggests the trend continues. Hidden bullish: price makes a higher low while RSI makes a lower low, often a healthy pullback inside an uptrend. Hidden bearish: price makes a lower high while RSI makes a higher high, a pause inside a downtrend.
How to use divergence without getting hurt
Divergence is a warning, not a timing trigger. Momentum can weaken and price can still grind higher for a long time; "divergence can persist longer than a position can survive" is a fair way to hold it in mind. Treat divergence as a reason to tighten risk or watch for a confirming trigger (a break of a short-term level, a candle-close midline cross), not as an instruction to enter immediately against the trend. Divergence on a higher timeframe carries more weight than divergence on a one-minute chart.
RSI compared with MACD and Stochastic
RSI is one of several momentum tools, and each answers a slightly different question. The table below summarizes the practical differences. For a deeper head-to-head, see RSI vs MACD and the stochastic oscillator guide.
| Indicator | Scale | Best at | Weak when |
|---|---|---|---|
| RSI | 0 to 100, bounded | Gauging stretched momentum and divergence | Strong trends (stays pinned at extremes) |
| MACD | Unbounded, around zero | Trend momentum and crossovers | Choppy ranges (whipsaws) |
| Stochastic | 0 to 100, bounded | Timing turns inside a range | Trends (extremely noisy) |
They are complements, not competitors. A common pairing is RSI or Stochastic for timing and MACD for trend context, so an entry aligns with both the swing and the larger move.
How to actually use RSI in a strategy
RSI works best as one input in a rules-based process, not as a lone buy or sell button. A defensible routine looks like this:
- Set the context first. Decide whether the market is trending or ranging using price structure or a moving average. This single step determines whether RSI extremes mean "reversal" or "ignore".
- Pick RSI's role for that context. Ranging: fade 70/30 extremes back toward the middle. Trending: use the 50 midline as a bias filter and only trade in the trend direction.
- Wait for candle close. Only act on the value the bar prints when it closes, so the signal cannot move after you have read it.
- Require confirmation for divergence. Pair a divergence with a trigger (a level break or midline cross) before committing risk.
- Define entry, stop, and invalidation up front. Know where you are wrong before you enter. RSI helps you decide whether to look, not where to place your stop; price structure does that.
Scanning for these conditions by hand across dozens of crypto pairs, stocks, and forex charts is slow and easy to get wrong. This is where TraderIndicator fits in: it scans markets on TradingView and surfaces the setups that actually meet a defined ruleset, each with an entry, a stop, and the reason it fired attached, and its signals lock on candle close so they do not repaint after the fact. It removes the manual hunting, not the judgment; you still decide whether a setup fits your plan.
Common RSI mistakes
- Shorting every overbought reading. In a trend, 70-plus is normal and can persist. Overbought is a description, not a sell order.
- Trusting extremes in the wrong regime. The exact same reading means opposite things in a range versus a trend. Read the context before the oscillator.
- Acting on an unclosed candle. Intrabar RSI drifts and can lure you into a signal that vanishes on close.
- Entering on divergence alone. Weak momentum is a caution flag, not a trigger. Wait for confirmation.
- Over-optimizing the length. Curve-fitting RSI to past data (say, length 11 because it looked best last month) rarely holds up going forward. Prefer robust, round settings you understand.
- Using RSI in isolation. One oscillator cannot describe a whole market. Combine it with structure and trend context.
Used with discipline, RSI is a clear, honest read on momentum. Used as a magic overbought/oversold button, it will hand you losses in exactly the trends where discipline matters most.
This article is educational and is not financial advice. Indicators describe past and present price behavior; they do not predict the future or guarantee results. Do your own research and manage risk.
Frequently asked questions
What is the best RSI setting?
There is no single best setting. The default is length 14 with 70/30 thresholds. Shorter lengths (7 to 9) react faster and suit intraday trading; longer lengths (21 to 25) are smoother for higher timeframes. Many traders widen thresholds to 80/20 in volatile crypto. Test on your own instrument and timeframe.
Does an overbought RSI mean I should sell?
Not by itself. In a sideways range, an overbought reading often precedes a pullback. In a strong trend, RSI can stay above 70 for a long time while price keeps rising. Read whether the market is trending or ranging before treating an extreme as a reversal signal.
What is RSI divergence?
Divergence is when price and RSI disagree. Bearish divergence is a higher price high with a lower RSI high, hinting the up move is weakening. Bullish divergence is a lower price low with a higher RSI low. It is a warning of fading momentum, not a timing trigger, so wait for confirmation.
Is RSI better than MACD?
Neither is better; they answer different questions. RSI is a bounded oscillator good for spotting stretched momentum and divergence. MACD is unbounded and better for trend momentum and crossovers. Many traders use them together, RSI for timing and MACD for trend context.
Does RSI repaint?
The RSI value drifts while the current candle is still forming and only settles when the bar closes. If you only act on closed-candle values, RSI does not repaint. Reacting to an unclosed bar is what makes it seem to change on you.
What does the RSI 50 line mean?
The 50 midline divides up-momentum from down-momentum bias. RSI holding above 50 suggests buyers are in control; below 50 suggests sellers are. Using 50 as a bias filter turns RSI into a trend-alignment tool rather than a counter-trend one.
Stop hunting setups. Start taking them.
TraderIndicator scans crypto, stocks and forex and hands you the setups where the odds line up, entry, stop and reason attached.