The Relative Strength Index, commonly known as RSI, is one of the most widely used technical indicators in all of financial trading. Developed by J. Welles Wilder Jr. and introduced in his 1978 book "New Concepts in Technical Trading Systems," RSI has become a cornerstone of technical analysis for stock, forex, and cryptocurrency traders alike. This guide will teach you everything you need to know about RSI, from its mathematical foundation to practical trading strategies.
RSI is a momentum oscillator that measures the speed and magnitude of recent price changes to evaluate whether an asset is overbought or oversold. It oscillates between 0 and 100, providing traders with a standardized way to assess the current strength of price movements relative to recent history.
At its core, RSI answers a simple question: over a recent period, how strong have the up moves been compared to the down moves? When up moves have been dominant, RSI rises toward 100. When down moves have been dominant, RSI falls toward 0. When up and down moves have been roughly equal in magnitude, RSI hovers around 50.
J. Welles Wilder designed RSI specifically to identify situations where recent price momentum may be reaching unsustainable extremes. When buying pressure has been unusually strong (high RSI), the asset may be due for a pullback. When selling pressure has been unusually strong (low RSI), the asset may be due for a bounce. This mean-reversion concept is the foundation of RSI-based trading.
While the RSI formula may look intimidating at first glance, the underlying concept is straightforward. Here is how RSI is calculated step by step.
Over the lookback period (typically 14 periods), calculate the average of all positive price changes (gains) and the average of all negative price changes (losses). Only the magnitude of losses is used, so the average loss is always a positive number.
For the initial calculation, you simply take the arithmetic mean of all gains and the arithmetic mean of all losses over 14 periods. For subsequent calculations, Wilder's smoothing method is used: the previous average gain is multiplied by 13, added to the current gain, and divided by 14. The same process applies to average loss. This exponential smoothing gives more weight to recent data while incorporating historical data, making RSI responsive to recent changes but not overly reactive to single-period spikes.
The Relative Strength ratio is simply the Average Gain divided by the Average Loss. RS = Average Gain / Average Loss. When gains have been larger than losses, RS is greater than 1. When losses have been larger, RS is less than 1.
The RS value is then converted to the 0-100 scale using the formula: RSI = 100 - (100 / (1 + RS)). This transformation ensures that RSI is always bounded between 0 and 100, making it easy to compare across different assets and timeframes. When RS is very large (gains far exceed losses), the formula pushes RSI toward 100. When RS is very small (losses far exceed gains), RSI approaches 0.
RSI values are interpreted in several key zones, each providing different information about market conditions.
Wilder's original recommendation uses 70 as the overbought threshold and 30 as the oversold threshold. When RSI crosses above 70, it signals that the asset may be overbought and could be due for a downward correction. When RSI drops below 30, it signals that the asset may be oversold and could be due for an upward bounce.
However, these levels are not absolute signals. RSI crossing above 70 does not mean you should immediately sell, nor does RSI dropping below 30 mean you should immediately buy. These levels indicate conditions that warrant attention and analysis, not automatic action.
Cryptocurrency markets are more volatile than traditional markets, and crypto assets in strong trends can maintain RSI readings above 70 or below 30 for extended periods. Many crypto traders adjust the overbought and oversold thresholds to 80 and 20 respectively. This higher threshold reduces false signals during strong trends and identifies only the most extreme conditions.
Some advanced traders use dynamic RSI levels that adjust based on the prevailing trend. In a confirmed uptrend, they might only look for oversold signals using a 40 level rather than 30, since strong uptrends rarely push RSI below 30. In a downtrend, they might look for overbought signals using a 60 level rather than 70, since strong downtrends rarely push RSI above 70.
RSI divergence is one of the most powerful and reliable signals the indicator can provide. Divergence occurs when the direction of the RSI indicator disagrees with the direction of the price, suggesting that the current trend may be losing momentum.
Bullish divergence occurs when the price makes a lower low, but RSI makes a higher low. This means that while the price has fallen to a new low, the selling momentum behind that move was weaker than the previous decline. The market is losing downward momentum, and a reversal to the upside may be approaching.
For example, imagine Bitcoin drops to $40,000 with RSI at 25, bounces to $42,000, then drops again to $39,000, but this time RSI only drops to 30. The price made a lower low ($39,000 vs $40,000), but RSI made a higher low (30 vs 25). This bullish divergence suggests the selling pressure is weakening, and a potential reversal could follow.
Bearish divergence is the opposite: the price makes a higher high, but RSI makes a lower high. This indicates that while buyers pushed the price to a new peak, the buying momentum was weaker than the previous rally. The upward trend may be exhausting, and a pullback could be imminent.
For example, Bitcoin rallies to $60,000 with RSI at 78, pulls back to $58,000, then rallies again to $62,000, but RSI only reaches 72. The price made a higher high ($62,000 vs $60,000), but RSI made a lower high (72 vs 78). This bearish divergence warns that buying momentum is fading.
Hidden divergence is a trend continuation signal, as opposed to the reversal signals provided by regular divergence. Hidden bullish divergence occurs when the price makes a higher low while RSI makes a lower low, suggesting the uptrend will continue. Hidden bearish divergence occurs when the price makes a lower high while RSI makes a higher high, suggesting the downtrend will continue.
RSI performs best in ranging (sideways) markets. When prices oscillate within a defined range, RSI reliably bounces between overbought and oversold levels, providing clear buy and sell signals. In a range-bound market, buying when RSI drops below 30 and selling when RSI rises above 70 is a straightforward and often profitable strategy.
In strong trends, RSI can remain in overbought or oversold territory for extended periods. During the Bitcoin bull run from late 2020 to early 2021, RSI frequently exceeded 70 and stayed there for weeks. Traders who sold every time RSI hit 70 would have exited prematurely and missed significant gains.
This is RSI's most significant limitation in crypto markets, which are prone to strong, sustained trends. To avoid premature exits in trending markets, many traders use RSI as a trend confirmation tool rather than a reversal signal. In an uptrend, they look for RSI pullbacks to the 40-50 zone as buying opportunities rather than waiting for RSI to reach oversold territory.
RSI is most effective when used in combination with other technical indicators. Using RSI alone can produce false signals, but confirming RSI signals with additional analysis significantly improves reliability.
Use a moving average (such as the 50-period or 200-period) to determine the overall trend direction. Only take RSI buy signals when the price is above the moving average (uptrend) and only take RSI sell signals when the price is below the moving average (downtrend). This trend filter eliminates many false signals that occur when RSI reaches extreme levels during strong trends.
MACD provides information about trend direction and momentum, complementing RSI's overbought and oversold readings. When both indicators confirm the same signal, such as RSI showing oversold conditions while MACD shows a bullish crossover, the probability of a successful trade increases. Conversely, when the indicators disagree, it is often best to wait for clearer confirmation.
Bollinger Bands measure volatility and provide dynamic support and resistance levels. When the price touches the lower Bollinger Band and RSI is simultaneously oversold, it provides a strong confluence signal for a potential bounce. Similarly, price at the upper Bollinger Band with RSI overbought suggests increased probability of a pullback.
RSI signals are most powerful when they coincide with key support or resistance levels. An oversold RSI reading at a major support level provides a much stronger buy signal than an oversold reading at a random price level. This combination of price structure analysis with momentum oscillator readings is a cornerstone of professional technical analysis.
Wilder's original and most widely used RSI setting is 14 periods. This provides a good balance between responsiveness and smoothness for most applications. On a daily chart, 14-period RSI evaluates the momentum of the last 14 days. On a 1-hour chart, it evaluates the last 14 hours.
Scalpers and short-term traders often use shorter RSI periods, such as 5, 7, or 9. Shorter periods make RSI more sensitive to recent price changes, generating more frequent signals. This is useful for catching short-term reversals but produces more false signals. The GODSTARY scanner uses RSI as one of its 13 indicators for generating scalping signals across 1-minute, 5-minute, and 15-minute timeframes.
Swing traders and position traders may prefer longer RSI periods, such as 21 or 25. These longer settings smooth out the noise and only flag the most significant overbought and oversold conditions. Signals are less frequent but tend to be more reliable for identifying meaningful trend reversals.
Buy when RSI crosses below 30 and then crosses back above 30 (confirming the reversal). Sell when RSI crosses above 70 and then crosses back below 70. The key is waiting for the cross back, not acting when RSI first enters the extreme zone. This confirmation step significantly reduces false signals.
In trending markets, use the RSI 50 level as a trend strength filter. In an uptrend, buy when RSI pulls back to 50 and bounces (indicating the uptrend is resuming after a pause). In a downtrend, sell when RSI rallies to 50 and turns back down. This strategy works well in established trends but fails in choppy, sideways markets.
Monitor for bullish and bearish divergences between price and RSI. Enter a long position when bullish divergence is confirmed (price makes lower low, RSI makes higher low, and price starts to move up). Enter a short position or take profits when bearish divergence is confirmed. Divergence strategies work best on higher timeframes (4-hour, daily) where the signals are more reliable.
Despite these limitations, RSI remains one of the most valuable tools in a trader's technical analysis toolkit. Its simplicity, versatility, and widespread use make it an essential indicator to understand. When used properly, in combination with other analysis methods and within the context of the broader market structure, RSI can provide valuable insights into market momentum and potential turning points.