RSI: the relative strength index
The RSI measures the speed of recent price changes on a 0 to 100 scale. Used well, it shows momentum fading before price turns.
Developed by J. Welles Wilder in 1978, the relative strength index compares the size of recent gains with the size of recent losses. Despite its name, it does not compare one stock with another.
How it is calculated
RSI = 100 − 100 ÷ (1 + RS), where RS = average gain ÷ average loss over 14 periods
The averages are smoothed, so each new period adds a fraction of its gain or loss to the running average. When gains dominate, RSI rises towards 100; when losses dominate, it falls towards 0. A reading of 50 means gains and losses have been about equal.
Overbought and oversold
Readings above 70 are called overbought and readings below 30 oversold. These labels mislead many beginners. In a strong uptrend, RSI can stay above 70 for weeks while price keeps climbing, and selling every time it crosses 70 means fighting the trend. In ranges, by contrast, swings towards 70 and 30 often line up with resistance and support.
RSI ranges shift with the trend
A more useful approach watches where RSI tends to sit. In healthy uptrends it often stays roughly between 40 and 80, with pullbacks finding a floor near 40 to 50. In downtrends it oscillates roughly between 20 and 60. When an uptrend’s RSI suddenly breaks below 40, momentum has changed character.
Divergence
Bearish divergence occurs when price makes a higher high but RSI makes a lower high: the second push up had less force behind it. Bullish divergence is the opposite at a low, when price makes a lower low but RSI makes a higher low.
Divergence is a warning, not a trigger. In a strong trend it can persist through several more highs. Wait for price to confirm, for example with a break of the most recent higher low or of a trendline.
Using RSI in practice
- Treat 50 as a quick trend filter: above 50 favours long trades, below 50 favours short ones.
- In uptrends, look for pullbacks that take RSI towards 40 to 50, rather than for overbought sells.
- Look for divergence at significant levels, such as a previous high or a resistance zone.
- Keep the default 14 periods until you have a tested reason to change them.
Key takeaways
- RSI compares average gains with average losses over 14 periods, on a 0 to 100 scale.
- Overbought is not a sell signal in an uptrend; RSI can stay above 70 for weeks.
- In uptrends RSI tends to range from about 40 to 80; in downtrends from about 20 to 60.
- Divergence between price and RSI warns that momentum is fading.
- Wait for price to confirm any RSI signal.
Check your understanding
Choose an answer to see the explanation. Your score is saved in this browser.
1. RSI has been above 70 for two weeks while price keeps rising. What is the best reading?
Strong trends keep RSI elevated. Selling on an overbought reading alone fights the trend.
2. Price makes a higher high but RSI makes a lower high. What is this called?
The weaker RSI peak shows less momentum behind the new price high: bearish divergence.
3. In a healthy uptrend, where does RSI often find a floor on pullbacks?
In uptrends, RSI pullbacks typically hold around 40 to 50 rather than reaching oversold levels.
Finish the quiz or mark this lesson complete to track your progress.