Relative Strength Index (RSI)

It measures the rate of change of stock price movements and sets different market expectations based on the latest indicators readings.

Author: Tanishk Rathore
Tanishk Rathore
Tanishk Rathore
My undergraduate experience and internships are to thank for my skills in areas like research, analysis, communication, critical thinking, technical proficiency, time management, attention to detail, and adaptability. As a student majoring in civil engineering, I have developed a solid foundation in its specialisations. I worked as an intern for the DRDO at the University of Cambridge.
Reviewed By: Kevin Henderson
Kevin Henderson
Kevin Henderson
Private Equity | Corporate Finance

Kevin is currently the Head of Execution and a Vice President at Ion Pacific, a merchant bank and asset manager based Hong Kong that invests in the technology sector globally. Prior to joining Ion Pacific, Kevin was a Vice President at Accordion Partners, a consulting firm that works with management teams at portfolio companies of leading private equity firms.

Previously, he was an Associate in the Power, Energy, and Infrastructure Investment Banking group at Lazard in New York where he completed numerous M&A transactions and advised corporate clients on a range of financial and strategic issues. Kevin began his career in corporate finance roles at Enbridge Inc. in Canada. During his time at Enbridge Kevin worked across the finance function gaining experience in treasury, corporate planning, and investor relations.

Kevin holds an MBA from Harvard Business School, a Bachelor of Commerce Degree from Queen's University and is a CFA Charterholder.

Last Updated:January 11, 2024

What is Relative Strength Index (RSI)?

The Relative Strength Index (RSI) is a momentum oscillator popular and widely used in technical analysis. It is a leading indicator that oscillates between 0 and 100. 

RSI measures the rate of change of stock price movements and sets different market expectations based on the latest indicators readings.

It is one of the most common indicators that give strong signals during a sideways trend. While using this indicator, the main objective of traders is to interpret oversold or overbought regions in the market.

The RSI measures asset's overbought or oversold conditions; values above 70 suggest overbought, below 30, oversold, aiding trading decisions. This article will explain how to interpret overbought and oversold regions. 

Who invented it? This indicator was invented by J. Welles Wilder and was introduced in his book -"New Concepts in Technical Trading Systems," published in 1978. Ever since it has gained a lot of popularity among readers and traders. Traders often make decisions based on strategies mentioned in his book. 

Key Takeaways

  • RSI ranges from 0 to 100 and identifies overbought (above 70) or oversold (below 30) market conditions.
  • It is computed from average gains and losses over a specified period, typically 14 days, offering insights into price momentum changes.
  • Readings above 70 suggest overbought conditions, potentially signaling a downturn; below 30 indicate oversold conditions, potentially signaling an upturn.
  • Bullish divergence (RSI rises while prices drop) may signal a potential uptrend; bearish divergence (RSI falls while prices rise) may suggest a possible downtrend.

Calculating the RSI

The formula of the relative strength index and the method to calculate it is very simple; you have to follow certain steps, which are explained below:

RSI = 100 - (100/1+ RS)

Where RS = Average gain / Average loss  

Average points gained = Total gain/ Total no. of days

Average points lost = Total loss/ Total no. of days 

Now let's see it in detail with the help of an example 

Let's assume the stock price of X Ltd. is 150 on 10/1/2022. Then, further data for 14 periods (days) is given below:

Stock Price of X Ltd.

Date Closing price of each day Points gained Points Lost
11/1/2022 154 4 0
12/1/2022 151 0 3
13/1/2022 150 0 1
14/1/2022 143 0 7
15/1/2022 148 5 0
16/1/2022 152 4 0
17/1/2022 155 3 0
18/1/2022 149 0 6
19/1/2022 145 0 4
20/1/2022 146 1 0
21/1/2022 148 2 0
22/1/2022 150 2 0
23/1/2022 146 0 4
24/1/2022 144 0 2
    TOTAL = 21 TOTAL = 27

As you can see in this table, closing prices for the subsequent 14 days are taken, and we have calculated points gained or lost each day after looking at the previous day's closing price.

On 15/1/2022, for example, 5 points were gained. This was calculated by taking the previous day's closing price, i.e., 148 - 143 = +5. The + sign indicates points gained, and these are called updays. Updays are defined as days closing higher than the previous day's close.

Similarly, on 19/1/2022, 4 points were lost. This is calculated using the same method: 145-149 = -4, where a negative sign indicates points lost. Days where points are lost are called downdays. Downdays are defined as days closing lower than the previous day's close. 

It is usually calculated using 14-period data. 

Now we will be performing further calculations by taking values from above.

Average gain = 21/ 14 = 1.5

Average loss = 27 /14 = 1.92

RS = Average gain / Average loss 

RS = 1.5 / 1.92 = 0.78

Hence , RSI = 100 - (100/1 + RS)

= 100 - ( 100/ 1 + 0.78) = 100 - ( 100/ 1.78)

= 100 - 56.17 = 43.83 

Hence the final value of RSI = 43.83

How To Interpret Relative Strength Index?

A graph represents the relative strength index. It oscillates between 0 to 100 with two horizontal lines, one on the top, usually at 70, and the second line on the bottom of the chart at 30.

The indicator is represented by a violet line which tells an investor the momentum of price movements in a given security.

Source: Trading View

Traditionally, a value above 70 is considered an overbought or overvalued region. After a certain period, it generally shows reversals and leads to a downtrend.

The value below 30 is said to be oversold or undervalued, which means negative momentum is high, generally leading to market reversals and resulting in an uptrend.

A value between 30 and 70 is considered to be neutral, with 50 acting as a sign of a sideways trend.

Many traders often use a combination of candlestick patterns and indicators to get better outcomes, as sometimes, using this indicator independently can fail to give better results.

It rises as the number of points gained increases and falls as the number of points lost increases. 

An indicator oscillates for an extended period. For example, if the value is above 70 for a long duration, it will create excess positive momentum. As a result, the market might continue to be uptrend as traders look for buying opportunities rather than selling.

Similarly, it will create excess negative momentum when it is below 30 for an extended period. As a result, the market will most likely continue to be downtrend as traders start looking for selling opportunities rather than purchasing.

It might be a little confusing initially, but we suggest you practice more by reading different charts and trying to backtest your strategies before moving ahead. Despite being one of the most popular technical indicators, it sometimes fails to predict accurately. 

RSI Divergences and Swing Rejections

What is the Divergence in RSI? Divergence within RSI through price movements is a powerful indication that there will be reversals in the market.

There are two types of divergences: bullish divergences and bearish divergences. 

1. Bullish divergence

This is created when RSI is in the oversold region (i.e., below the 30 mark), and it makes a higher low while price makes a lower low correspondingly. This indicates positive momentum is rising, and it might be wise to enter a long position

2. Bearish divergence

This is created when RSI is in the overbought region (i.e., above the 70 mark), and it makes a lower high while price makes a higher high correspondingly. It indicates negative momentum is rising, and one should consider entering a short position.

You can also check out this YouTube video for clarification: 

On the other hand, what are the Swing rejections in RSI? Another technique used in trading is swing rejections. There are two types of swing rejections: bullish swing rejections and bearish swing rejections. 

1) Bullish swing rejections

The RSI should be in the oversold region and cross 30. Afterward, it should form another low close to 30 and then break out and create a new high. This results in an uptrend or bullish trend.

2) Bearish swing rejections

The RSI should be in the overbought region and then go down below 70. Afterward, it should form another high close to 70 and then break out and create a new low. This results in a downtrend or bearish trend.

The Relative Strength Index – What to Watch Out For

It is usually calculated by taking 14-period data as a standard size. J. Welles Wilder takes data of 14 days for calculation as it gives the best results for his purposes. It can, however, be tweaked and changed as per your needs.

Some investors use 15, 20, 70, or even 100 days of data to calculate the index. We encourage you to experiment with different combinations and see what works best for you.

Traders should be cautious of a few key considerations when using RSI.

  • RSI is most effective when used in conjunction with other indicators and not in isolation
  • Extreme overbought or oversold readings may not necessarily lead to an immediate price reversal; it's crucial to consider other factors such as trend analysis
  • Divergences between RSI and price movements can be significant signals, but they require confirmation from other technical or fundamental factors for reliable trading decisions

The Difference Between RSI and MACD

RSI measures the rate of change of stock price movements and sets different market expectations based on the latest indicators readings. Whereas, Moving Average Convergence Divergence (MACD) measures the relationship between 2 moving averages of an asset’s price. 

RSI is most commonly used by traders to identify overbought and oversold assets and potentially reverse trends. MACD is used to identify the above-mentioned moving averages’ trends, patterns, and momentum. 

Relative Strength Index necessitates finding the average profit and average loss. MACD involves subtracting the 26-period EMA (Exponential Moving Average) from the 12-period EMA. Additionally, integer values are not what is used to interpret from the MACD, rather it’s a graph whose lines fluctuate based on the averages calculated. 

An RSI value above 70 implies that the involved asset was overbought, and below 30 implies that said asset was oversold. Comparing it to the MACD, the MACD line rising above the signal is called a ‘bullish crossover’, and falling below the signal line is considered a ‘bearish crossover’.

RSI vs. MACD

Criteria RSI MACD
Purpose Measures rate of change in stock price movements Measures relationship between two moving averages
Primary Use Identify overbought/oversold assets, potential trend reversals Identify trends, patterns, and momentum based on averages
Calculation Based on average profit and loss Derived from subtracting EMAs (12 & 26 periods)
Interpretation Values above 70 indicate overbought, below 30 indicate oversold Crossovers (bullish when MACD rises above signal, bearish when it falls below)
Output Values range from 0 to 100 Graph representation of fluctuating lines based on averages

Relative Strength Index and FOREX

An intraday forex trading strategy can be used to interpret the indications from the index and other technical indicators that a market is overvalued or undervalued. A value above 70 is said to be overbought, and a value below 30 is said to be oversold.

This index is a widely used technical indicator in forex trading and helps to identify entry and exit points within a short period. It is not only for forex but also used while trading other securities like stocks, futures, and options.

A combination of technical indicators and candlestick patterns can be used to get better results.

Limitations of the RSI

Like every index, the Relative Strength Index has its limitations. Some of these are as below: 

1. A Limited Gauge of Market Conditions

As understood, the value of the RSI only tells us whether the asset is overbought or oversold. It doesn’t tell us the factors, or the causes behind why the asset is overbought or oversold. Additionally, it doesn’t offer context behind whether the condition is a profitable trading opportunity or not.

The RSI indicator is valuable only as a tool to identify trends and possible trade opportunities, but it is on the traders to carry on further evaluation and research. 

2. Gullible to market conditions

RSI is often susceptible to strong trends in a particular market. The RSI can stay in either the overbought or oversold territory for an over-extended period, leading to unreliable values. This is misleading to traders as the signals come in either too early or too late.

3. Sensitive to duration of time-periods

The value of the RSI indicator is extremely sensitive to the time frame in which the average gain and average loss are calculated. The RSI is more reliable for the longer term and tends to smoothen out, but it doesn’t react as much to changes. RSI is more sensitive and fluctuates often in shorter periods.

Relative Strength Index (RSI) FAQs

Machine Learning Package Course

Everything You Need To Master Algo Trading using Python

To Help You Thrive in One of the Most Future Proof Careers on Wall Street.

Learn More

Researched and Authored by Tanishq | LinkedIn

Reviewed and edited by Sreelakshmi Sreejith | LinkedIn

Free Resources

To continue learning and advancing your career, check out these additional helpful WSO resources: