This article is part 4 of theTechnical Analysis section of our Stock Market Learning series created by SMJ. It provides a comprehensive guide to understanding and using two of the most popular technical indicators: RSI (Relative Strength Index) and MACD (Moving Average Convergence Divergence). You will learn what these indicators are, how they work, and how to apply them effectively in the Indian stock market.
Trading involves a significant learning curve and can be challenging to master. It requires time, effort, and consistent practice to develop the necessary skills and understanding. While this series aims to provide valuable insights and guidance, becoming proficient in trading demands dedication and ongoing education.
Among the numerous technical indicators available to traders, the Relative Strength Index and Moving Average Convergence Divergence (MACD) stand out as two of the most widely used and respected tools. Both indicators offer unique insights into market momentum, helping traders identify potential buy and sell signals, spot overbought or oversold conditions, and understand the underlying strength of a trend.
Also read: Mastering Technical Analysis – Understanding the What, Why?
What is RSI (Relative Strength Index)?
The Relative Strength Index (RSI) is a popular momentum oscillator used in technical analysis to measure the speed and change of price movements in a security. Developed by J. Welles Wilder Jr. and introduced in his 1978 book New Concepts in Technical Trading Systems, the RSI is designed to identify overbought and oversold conditions, which can signal potential trend reversals or continuations.
The RSI is plotted on a scale of 0 to 100. Traditionally, a reading above 70 is considered overbought, suggesting the asset may be overvalued and a potential price correction could occur. A reading below 30 is considered oversold, indicating that the asset may be undervalued and could be due for a price increase.

The RSI is calculated using the average gains and losses over a specified period, usually 14 periods, which can be days, hours, or minutes depending on the trading timeframe.
Overbought Condition – When the RSI moves above 70, it indicates that the asset has been experiencing strong upward momentum, possibly leading to an overbought situation where a price pullback or reversal might be imminent.
Oversold Condition – When the RSI drops below 30, it suggests that the asset has been under significant selling pressure, which could result in an oversold condition and a potential rebound in price.
Trend Identification – RSI can also be used to confirm the strength of a trend. For example, in a strong uptrend, the RSI might consistently stay above 40 or 50, while in a strong downtrend, it might remain below 60.
The traditional levels of 70 (overbought) and 30 (oversold) are not always reliable in every market condition. In a strong trend, these levels might need adjustment, leading to potential confusion or misinterpretation.
Example
Consider the Nifty 50 index, where an RSI reading consistently above 70 could indicate an overheated market, prompting traders to anticipate a correction. Conversely, if the RSI dips below 30 during a market sell-off, it might suggest that the index is oversold and could be poised for a rebound.
RSI is particularly useful for identifying entry and exit points in the Indian stock market, helping traders make more informed decisions based on the current market momentum. However, like all indicators, it is most effective when used in conjunction with other technical tools and analysis methods.
RSI Divergence
RSI divergence is a powerful tool in technical analysis used to identify potential reversals in the market by comparing the movement of the RSI indicator with the price action of the underlying security. Divergence occurs when the direction of the RSI diverges from the direction of the price, signaling that the current trend may be losing momentum and a reversal could be on the horizon.
RSI divergence is commonly used to spot potential reversals in trends. For instance, during a strong downtrend, a bullish divergence might prompt traders to consider taking long positions in anticipation of a trend reversal.

Divergence can also serve as a confirmation tool, helping traders gauge the strength of an ongoing trend. If no divergence is present, it may suggest that the current trend is likely to continue.
1. Bullish Divergence –
A bullish divergence occurs when the price of a security is making lower lows, but the RSI is making higher lows. This indicates that while the price is declining, the downward momentum is weakening, which could lead to a reversal to the upside.
Example – In the Indian stock market, if a stock like Reliance Industries is making new lows, but the RSI is forming higher lows, it could be a sign that the stock is due for a rebound.
2. Bearish Divergence –
A bearish divergence occurs when the price is making higher highs, but the RSI is making lower highs. This suggests that while the price is rising, the upward momentum is weakening, potentially leading to a downward reversal.
Example – If a stock like TCS is reaching new highs, but the RSI is showing lower highs, traders might interpret this as a warning signal that the uptrend is losing strength and a pullback may be imminent.
Limitations of RSI Divergence
False Signals – RSI divergence is not infallible and can sometimes produce false signals, especially in choppy or sideways markets. It’s essential to use RSI divergence in conjunction with other technical indicators, such as moving averages or support and resistance levels, to increase the accuracy of trade decisions.
Timing – While RSI divergence can indicate a potential trend change, it does not always provide precise timing for entering or exiting trades. Traders should be cautious and consider waiting for additional confirmation before acting on divergence signals.
What is MACD (Moving Average Convergence Divergence)?
The Moving Average Convergence Divergence (MACD) is a popular momentum and trend-following indicator used in technical analysis to identify potential buy and sell signals in the stock market. Developed by Gerald Appel in the 1970s, MACD measures the relationship between two moving averages of a security’s price, helping traders assess the strength, direction, and duration of a trend.

Components of MACD
MACD Line
The MACD line is calculated by subtracting the 26-period Exponential Moving Average (EMA) from the 12-period EMA. This line represents the difference between the short-term and long-term price movements, highlighting momentum shifts.
When the MACD line is above zero, it indicates bullish momentum, and when it is below zero, it signals bearish momentum.
Signal Line
The Signal line is a 9-period EMA of the MACD line. It serves as a trigger for buy and sell signals.
When the MACD line crosses above the Signal line, it generates a bullish signal (indicating a potential buying opportunity). Conversely, when the MACD line crosses below the Signal line, it generates a bearish signal (indicating a potential selling opportunity).
MACD Histogram
The MACD histogram represents the difference between the MACD line and the Signal line. It is plotted as bars above or below the zero line, depending on the direction of the crossover.
The histogram helps visualize the strength of the trend. A widening histogram indicates increasing momentum, while a narrowing histogram suggests weakening momentum.
- Traders use MACD to spot potential trend reversals by analyzing the crossovers between the MACD line and the Signal line. For example, in the Indian stock market, if the MACD line crosses above the Signal line for a stock like Infosys, it may signal the start of an uptrend.
- MACD can also be used to confirm the direction of an existing trend. If both the MACD line and Signal line are above the zero line, it indicates a strong uptrend, while both lines below zero suggest a strong downtrend.
- Similar to RSI, MACD can also be used for divergence analysis. A bullish divergence occurs when the price makes lower lows while the MACD makes higher lows, indicating potential upside momentum. A bearish divergence happens when the price makes higher highs while the MACD makes lower highs, signaling potential downside momentum.
Also read: What is Moving Average: Why & How to Use It in Trading?
Limitations of MACD
Lagging Indicator
Since MACD is based on moving averages, it is a lagging indicator, meaning it may react to price changes with a delay. This can sometimes result in late signals, especially in fast-moving markets.
False Signals
In choppy or sideways markets, MACD can produce false signals, leading to potential losses if traders act on them without additional confirmation from other indicators.
Less Effective in Ranging Markets
MACD tends to be less effective in ranging markets where prices move sideways. In such conditions, the indicator may generate whipsaws, causing confusion and potential losses.
How to Use RSI and MACD Together
Combining the Relative Strength Index and Moving Average Convergence Divergence can provide traders with a more comprehensive analysis of market conditions, offering insights into both momentum and trend strength. By using these two indicators together, traders can increase the reliability of their signals and improve their decision-making process.
Confirming Signals
RSI and MACD Crossovers
When both RSI and MACD generate similar signals, it increases the confidence in the potential trade. For example, if the RSI crosses above 30 (indicating an oversold condition) and at the same time, the MACD line crosses above the Signal line, it strengthens the bullish signal, suggesting a potential buy opportunity.
Similarly, if the RSI crosses below 70 (indicating an overbought condition) and the MACD line crosses below the Signal line, it confirms a bearish signal, suggesting a potential sell opportunity.
Divergence Analysis
Identifying Divergence
RSI and MACD can both be used to identify divergences, which may indicate potential trend reversals. When the price of a stock makes higher highs, but the RSI or MACD makes lower highs, it signals bearish divergence. Conversely, when the price makes lower lows, but the RSI or MACD makes higher lows, it signals bullish divergence.
Combining Divergences
When both RSI and MACD show divergence simultaneously, it increases the likelihood of a trend reversal. For instance, if both indicators show bullish divergence while the price continues to fall, it may indicate that a reversal to the upside is imminent.
Filtering False Signals
Reducing Whipsaws
In volatile or sideways markets, using RSI and MACD together can help filter out false signals. For example, in such conditions, RSI may frequently hit overbought or oversold levels without a corresponding change in trend direction. By waiting for confirmation from MACD crossovers, traders can avoid acting on false signals and reduce the risk of losses.
Example
Suppose the RSI indicates that a stock like Reliance Industries is overbought, but the MACD has not yet shown a bearish crossover. In that case, it might be prudent to wait for further confirmation before entering a short position.
Timing Entries and Exits
Entry Points
Use RSI to identify potential entry points by looking for oversold conditions (RSI below 30) and then confirm the entry with a bullish MACD crossover. This combination can help traders time their entry more accurately, reducing the likelihood of entering too early.
Exit Points
Similarly, use RSI to identify overbought conditions (RSI above 70) and confirm the exit with a bearish MACD crossover. This strategy can help traders lock in profits before the trend reverses.
Monitoring Market Trends
Trend Confirmation
Use MACD to confirm the overall trend direction while using RSI to monitor momentum within that trend. For example, in a strong uptrend indicated by MACD, RSI can be used to identify short-term pullbacks or corrections, providing potential buy-on-dip opportunities.
Limitations and Risks
While RSI and MACD are popular and useful technical indicators, they come with limitations and risks that traders and investors should be aware of, especially when applying them in the Indian stock market.
1. Lagging Indicators
Both RSI and MACD are lagging indicators, meaning they are based on historical price data and may not accurately predict future price movements. This delay can sometimes result in signals that are too late, especially in fast-moving markets where prices change rapidly.
Impact – In a volatile market, such as during political events or economic announcements in India, relying solely on these indicators might cause traders to miss opportunities or enter trades too late.
2. False Signals
RSI and MACD can generate false signals during periods of low volatility or when the market is moving sideways. For example, the RSI might show overbought or oversold conditions without a subsequent trend reversal, leading to losses if trades are executed based on these signals alone.
Impact – Traders using these indicators in markets like small-cap stocks in India, which can be more volatile and prone to sudden price swings, should be cautious of false signals and confirm with other indicators or market analysis.
3. Over-reliance on Indicators
RSI and MACD focus solely on price action and do not consider underlying fundamental factors such as company earnings, economic data, or geopolitical events. Over-reliance on these technical indicators can lead to poor trading decisions if the broader market context is ignored.
Impact – For example, a stock might show bullish RSI and MACD signals, but if the company is facing a major lawsuit or poor earnings, the technical indicators might not reflect the negative sentiment driving the stock lower.
4. Inconsistent Performance in Trending Markets
While RSI and MACD can be effective in ranging markets, their performance in strong trending markets can be inconsistent. During a strong uptrend or downtrend, these indicators can remain in overbought or oversold territory for extended periods, leading traders to exit trades too early or miss out on potential gains.
Impact – In a bull market, like those often seen in Indian IT or pharmaceutical sectors, traders might prematurely sell their positions based on RSI showing overbought levels, missing out on further gains as the trend continues.
5. Complexity in Interpretation
Both RSI and MACD offer multiple signals (like crossovers, divergences, and overbought/oversold levels), which can sometimes be contradictory. This complexity requires a higher level of understanding and experience to interpret correctly.
Impact – New traders in the Indian stock market might find it challenging to correctly interpret these signals, leading to indecision or mistakes in trade execution.
6. Dependency on Proper Settings
The effectiveness of RSI and MACD can vary greatly depending on the time periods used for their calculation. Default settings might not always be suitable for all stocks or market conditions, and improper settings can lead to misleading signals.
Impact – For example, using a 14-day RSI on a highly volatile stock like a small-cap or penny stock in India might generate too many false signals, leading to overtrading and potential losses.
Tips for Effective Use of RSI and MACD
Use Multiple Timeframes
- Analyzing RSI and MACD on different timeframes can help you better understand the overall market trend and avoid false signals.
- For instance, use the daily chart to identify the broader trend and the hourly chart to pinpoint entry and exit points. If the daily RSI shows an uptrend, but the hourly RSI indicates an oversold condition, it might signal a good buying opportunity in line with the overall trend.
Combine with Other Indicators
- Relying solely on RSI and MACD can lead to incomplete analysis. Combining these indicators with others, such as Bollinger Bands, Moving Averages, or Volume Analysis, can provide a more comprehensive view of the market.
- For example, if RSI indicates an oversold condition and MACD shows a bullish crossover, but the stock is also at a key support level on a Bollinger Band, this could confirm a stronger buy signal.
Adjust Settings for Market Conditions
- The default settings for RSI (14 periods) and MACD (12, 26, 9) may not be optimal for all stocks or market conditions. Adjusting these settings based on volatility and the specific stock can improve accuracy.
- In a highly volatile stock like those in the Indian tech sector, consider shortening the periods for RSI to get more responsive signals, or use a longer MACD setting to filter out noise in a trending market.
Focus on Divergences
- Divergences between the RSI/MACD and price action can provide early warnings of potential trend reversals.
- If a stock is making higher highs, but the RSI is making lower highs (bearish divergence), it could indicate weakening momentum and a possible trend reversal. Conversely, a bullish divergence where the stock makes lower lows but RSI makes higher lows could signal an upcoming upward reversal.
Be Patient with Crossovers
- MACD crossovers (when the MACD line crosses above or below the signal line) are often used as buy or sell signals. However, it’s important to wait for confirmation before acting.
- After a MACD crossover occurs, wait for the next candle to close in the same direction before making a trade. This helps confirm that the signal is valid and reduces the chances of acting on a false signal.
Consider Market Context
- Always consider the broader market context when using RSI and MACD. These indicators work best when used in conjunction with an understanding of market trends, economic data, and sector performance.
- If the Indian stock market is in a strong bull phase due to positive economic news, even if RSI shows overbought conditions, the market might continue to rise. In such cases, it might be better to use RSI to identify pullback opportunities rather than outright reversals.
Set Realistic Targets and Stop-Losses
- Use RSI and MACD signals to set entry points, but always accompany them with realistic profit targets and stop-losses to manage risk.
- If MACD shows a bullish crossover and RSI is just emerging from an oversold condition, set a target based on previous resistance levels and place a stop-loss just below recent support to protect against sudden adverse moves.
Stay Updated on Market News
- RSI and MACD are technical tools, but market-moving news events can invalidate technical signals. Always stay updated on news that could impact the stocks you’re trading.
- For example, a company announcing unexpectedly poor earnings results could cause a stock to drop sharply, rendering any bullish RSI or MACD signals irrelevant. In such cases, avoid trades that go against the news flow.
This article introduces RSI and MACD in the context of the Indian stock market. While we strive to ensure the information is accurate and current, trading and investing using these indicators involve significant risks, and there are no guarantees of profit. The value of investments can fluctuate, and you may not get back the amount you originally invested.
The indicators and strategies discussed are intended for educational purposes and should not be taken as investment recommendations. We do not endorse any specific securities, trading platforms, or strategies without thorough research and understanding.
Conducting your own research or consulting with a financial advisor to develop a trading strategy that aligns with your financial goals and risk tolerance is essential. Follow the entire series to build a comprehensive understanding of technical analysis and become a more informed trader or investor. Always trade responsibly and consider your financial objectives before engaging in any trading activities.