Artha
Artha
Market Closed

MACD

Also known as: Moving Average Convergence Divergence, MACD indicator, MACD histogram

Technical AnalysisIntermediate

A momentum indicator that shows the relationship between two moving averages, used to identify trend direction and strength.

MACD (Moving Average Convergence Divergence) is one of the most widely used technical indicators in stock trading. It measures the relationship between two Moving Averages of a security's price and generates buy/sell signals based on their convergence and divergence.

The MACD is calculated in three components. First, the MACD line is the difference between the 12-period Exponential Moving Average (EMA) and the 26-period EMA. Second, the signal line is a 9-period EMA of the MACD line itself. Third, the MACD histogram plots the difference between the MACD line and the signal line as vertical bars. When the MACD line crosses above the signal line, it generates a bullish signal; when it crosses below, a bearish signal.

On Indian trading platforms (Zerodha Kite, Groww, Angel One), MACD is available as a standard overlay indicator. Consider Reliance Industries trading with its 12-day EMA at ₹2,520 and 26-day EMA at ₹2,480. The MACD line value is ₹40 (2,520 − 2,480), indicating bullish momentum since the faster average is above the slower one. If the 9-day signal line is at ₹25, the MACD is above its signal — a buy confirmation.

MACD divergence is a powerful signal. When a stock makes a new high but the MACD makes a lower high, it signals weakening momentum (bearish divergence). For example, if the Nifty 50 hits 23,000 (higher than a previous peak of 22,500) but the MACD peaks at a lower value than it did at 22,500, this suggests the uptrend is losing steam and a reversal may be near.

MACD works best in trending markets and can produce false signals in sideways/range-bound conditions. Traders often combine MACD with Overbought/Oversold indicators like RSI to filter signals. A MACD buy signal occurring when RSI is below 30 (oversold territory) provides stronger confirmation than either signal alone.

Formula

MACD Line = 12-period EMA − 26-period EMA; Signal Line = 9-period EMA of MACD Line

India Context

Available on all major Indian broker platforms. Commonly used with Nifty 50 and Bank Nifty charts for F&O trading decisions.

Explore this on Artha

See macd in action with real market data.

Analyse any stock

Related Terms