Understanding the RSI Indicator
How the Relative Strength Index measures momentum, how to read overbought and oversold zones and divergences, and where the indicator falls short.
What the RSI Measures
The Relative Strength Index (RSI) is a momentum oscillator. J. Welles Wilder Jr. introduced it in 1978 in his book New Concepts in Technical Trading Systems, and it now ships with nearly every charting platform.
It weighs the size of recent up-moves against the size of recent down-moves and turns the result into a single line between 0 and 100. A high reading means gains have outweighed losses lately; a low reading means the opposite.
Traders often use it as an early warning, because momentum tends to fade before price turns. It is a gauge of force, not a forecast: it shows how hard price has been pushing, not where price goes next.
One common mix-up: despite the name, the RSI does not compare an asset with another asset or with a market index. That is a separate tool, usually called relative strength comparison.
How the RSI Is Calculated
Every chart computes the RSI for you, so you never need to do it by hand. Knowing the recipe still explains how the line behaves.
- The lookback. Wilder used 14 periods, and 14 is still the default almost everywhere. On a daily chart that means 14 days; on a 15-minute chart, 14 fifteen-minute candles.
- The averages. Each close is compared with the close before it. Up-closes count as gains, down-closes as losses, and each side is averaged over the lookback.
- The smoothing. After the first value, Wilder's method keeps 13/14 of the previous average and adds 1/14 of the newest gain or loss. That is why the line bends gradually instead of jumping with every candle.
When the average gain equals the average loss, RS is 1 and the RSI sits at exactly 50. The further gains outrun losses, the closer the line climbs toward 100, and the reverse pulls it toward 0. Only closing prices go into the formula, so wicks have no effect on the reading.
Changing the Period
A shorter setting such as 7 or 9 makes the line more sensitive: it reaches the extremes more often and raises more false alarms. A longer setting such as 21 or 25 smooths it out, so extreme readings arrive less often and more slowly. If you are unsure, stay with 14, which is also the setting most other traders are looking at.
Overbought and Oversold
Wilder drew two reference lines on the indicator: 70 near the top and 30 near the bottom.
- Above 70: overbought. Buyers have been in control for a while and the move is stretched. The higher the reading, the more one-sided recent trading has been.
- Below 30: oversold. Sellers have dominated and the move is stretched to the downside. The lower the reading, the heavier the recent selling.
The words are easy to misread. Overbought does not mean an asset is too expensive, and it is not an instruction to sell. Oversold is not a reason to buy. Both describe momentum only, and a strong trend can hold the RSI above 70 or below 30 for a long time while price keeps moving the same way.
80 and 20 in Strong Trends
In a powerful trend, readings above 70 or below 30 become routine, so many traders widen the bands to 80 and 20. Only the most extreme readings then stand out.
Many traders also watch where the RSI tends to turn. In an established uptrend it often finds a floor around 40 to 50 on pullbacks; in a downtrend it often stalls around 50 to 60 on bounces. When that habit breaks, the trend itself may be changing.
The Timeframe Changes the Meaning
Fourteen 15-minute candles cover three and a half hours. Fourteen daily candles cover two to three weeks. A dip of a couple of percent can push the 15-minute RSI under 30 in an afternoon and leave the daily reading almost where it was.
So check one step up before giving an extreme much weight. Say the daily RSI dips to 28 while the weekly RSI reads 45 and is still falling. The daily reading shows that the last few weeks were heavy. The weekly shows that the larger decline has not stretched momentum yet, so it may not be over and a daily bounce may be short. Neither reading says what comes next; together they tell you how much weight the smaller one deserves.
Failure Swings
Wilder gave a lot of weight to failure swings, a signal read from the RSI line alone, without looking at price at all.
Bullish Failure Swing
The RSI drops below 30, climbs back above it, then pulls back without falling under 30 again. When it next rises past the peak of that first bounce, the swing is complete. The point is the second dip: sellers could not drive momentum as low the second time.
Bearish Failure Swing
The mirror image. The RSI rises above 70, falls back below it, then bounces without reaching 70 again. When it drops under the low of that first pullback, the swing is complete: buyers could not drive momentum as high the second time.
Because a failure swing needs a failed retest, it is slower than a plain cross of 30 or 70 and shows up less often. That filters out some noise, and like every RSI signal it still needs price to agree.
Divergences
A divergence is a disagreement between price and the RSI: price reaches a new extreme and momentum does not follow, or the other way round. There are two kinds, and they mean different things.
Finding the Swing Points
Every divergence compares two swings in a row: two lows, or two highs, on both price and the RSI. Because the RSI is built from closes alone, compare the closing prices of the two swing candles, not the tips of their wicks. A wick can stab below the earlier low without any candle closing there, and the RSI never sees it. Keep both swings inside the same move, too: a low from months ago says little about the momentum behind today's.
Regular Divergence: a Possible Reversal
- Bullish: price prints a lower low while the RSI prints a higher low. Price fell further, but with less force behind it.
- Bearish: price prints a higher high while the RSI prints a lower high. The rally reached a new high on weaker momentum.
Traders also grade regular divergences as strong, medium or weak. In a strong one, price makes a clear new high or low while the RSI clearly does not. In a medium one, price only matches its previous extreme (a double top or bottom) while the RSI makes a lower high or a higher low. In a weak one, price makes the new extreme but the RSI only matches its previous reading. Treat every divergence as unconfirmed until price agrees; medium and weak ones need the most evidence.
A regular divergence says momentum is weakening; it does not say when price will turn. It can stretch across several swings while the trend carries on.
Hidden Divergence: a Possible Continuation
- Bullish hidden: price makes a higher low while the RSI makes a lower low. Inside an uptrend, the pullback stretched momentum more than it damaged price, which suggests the trend is intact.
- Bearish hidden: price makes a lower high while the RSI makes a higher high. Inside a downtrend, the bounce lifted momentum without repairing the price structure.
Regular divergences argue against the trend. Hidden divergences side with it, which is why traders read them as continuation signals.
Ways Traders Use the RSI
1. A Trend Filter at 50
Above 50, average gains outweigh average losses over the lookback; below 50, losses dominate. Some traders use this as a simple trend filter: they only look for longs while the RSI holds above 50, and only for shorts while it stays below.
2. Extremes at Levels That Matter
An RSI extreme says a move is stretched. A support or resistance level says where price has stalled before. Read together they say more than either does alone: an RSI under 30 as price reaches a level that has held twice before is a different situation from the same reading in the middle of a range, with no level nearby.
3. Turning a Warning Into a Plan
An extreme, a divergence or a failure swing is a warning, not an entry. Traders who act on one usually settle three things first.
- The trigger. Something price does, such as a close beyond the latest swing high or low, or a reversal candle at the level. Some traders also accept a break of a trendline drawn across the RSI's own highs or lows.
- The stop. Beyond the extreme that produced the warning, at the price where the idea is plainly wrong.
- The size. Worked out from that stop, so a loss costs the amount you planned and no more.
4. Testing a Rule Before Trusting It
Write the rule down exactly, for example "the 14-period daily RSI crosses above 50 while price is above its 200-day moving average", then scroll back through past charts. Note every time it fired: how often it worked, what the losing trades cost and how long the worst losing streak ran. A rule that only looks good on the charts you remember is not ready for real money. The trading plan lesson covers how to write rules down.
Where the RSI Falls Short
- It looks backward. Every value comes from closes that have already happened. It describes the move so far, not the next one.
- Trends overrule it. In a strong trend, overbought or oversold readings can last for weeks, and fading them means trading against the trend.
- It suits ranges better than trends. The 70 and 30 levels tend to be most useful when price is moving sideways between clear support and resistance.
- Short timeframes are noisy. On very small candles, extremes come and go constantly.
- It does not know why price moves. News, a large order or thin liquidity can push price through any reading.
Common Mistakes
Treating an Extreme as a Price
An RSI of 25 says selling has been heavy, not that price is cheap, and a reading of 75 does not make an asset expensive. Buying the first oversold print, or shorting the first overbought one, is a guess about when the move stops. Wait for price to show the turn, and for something else to agree: trend structure, a support level, volume or a trend-following indicator such as the MACD.
Acting Before the Candle Closes
The latest RSI value is recalculated with every price change until the candle closes. A reading of 28 halfway through a candle can finish at 34, and a cross that looked complete can undo itself. Judge RSI signals on closed candles, so the reading you act on is one that will not change.
Tuning the Period to Fit the Past
Switching from 14 to 9 to 21 until an old chart shows clean signals tells you about that chart, not about the next one. Pick a setting, test it across many past moves and keep it. If you change it, test again from the start.
Quick Recap
- The RSI is a momentum oscillator from 0 to 100, introduced by J. Welles Wilder Jr. in 1978.
- It compares average gains with average losses on closing prices, over 14 periods by default.
- 70 and 30 mark overbought and oversold; in strong trends many traders use 80 and 20.
- Overbought and oversold describe momentum. Neither is a signal to sell or buy on its own.
- Failure swings and regular divergences warn that momentum is fading, not when price will turn; hidden divergences hint that the trend may continue.
- Compare closes, check the next timeframe up, judge closed candles only, and wait for price to agree.
Further reading: TradingView's RSI reference →
Related lessons
- Understanding the MACD IndicatorHow the MACD line, signal line and histogram are built, and how traders read crossovers and divergences.
- How to Read Candlestick PatternsThe most common candlestick patterns (doji, engulfing, hammer) and what they show about price action.
This lesson is education, not financial advice. Trading carries risk and you can lose money.