
MACD Indicator Explained: How the MACD Line, Signal Line and Histogram Work, Crossover Signals and Where the Indicator Fails
MACD = 12 period EMA minus 26 period EMA. The signal line is a 9 period EMA of MACD. A crossover above the signal line is read as bullish momentum. It lags and fails in sideways markets.
Updated: 16 Nov 2026 • 2:04 pm
Posted by:

Quick Answer
MACD indicator explained simply: it subtracts a 26 period exponential moving average from a 12 period one to show momentum, then plots a 9 period signal line over it. When the MACD line crosses above the signal line, momentum is read as turning up, and a cross below is read as turning down. It works best in trends and gives many false signals in sideways markets.
MACD indicator explained in plain terms: it is a momentum tool built from two moving averages, and traders use it to judge whether a trend is gaining or losing strength.
This guide covers how the MACD line, signal line and histogram are calculated, how to read crossovers and divergence and where the indicator breaks down.
Click Here – Get Free Investment Predictions
What Is the MACD Indicator?
MACD stands for moving average convergence divergence. It was created by Gerald Appel and is found on almost every charting platform. The indicator compares a short term exponential moving average with a longer one, so it shows how fast the recent price trend is moving away from or toward the longer trend.
Because it is built from moving averages, it is a trend following and lagging tool. It reacts after price has moved, not before.
How the MACD Line, Signal Line and Histogram Are Built
| Part | How it is calculated | What it shows |
|---|---|---|
| MACD line | 12 period EMA minus 26 period EMA | Momentum direction |
| Signal line | 9 period EMA of the MACD line | Smoothed trigger |
| MACD histogram | MACD line minus signal line | Gap between the two lines |
The default MACD setting is 12, 26 and 9. Shorter settings react faster but give more false signals. Longer settings are smoother but later.
MACD Indicator Explained: Reading the Signals
- Bullish crossover: the MACD line crosses above the signal line, which suggests rising momentum.
- Bearish crossover: the MACD line crosses below the signal line, which suggests falling momentum.
- Zero line: a MACD line above zero means the short average is above the long one, a sign of an uptrend. Below zero suggests a downtrend.
- Histogram: bars growing taller show momentum building, and shrinking bars show it fading, often before a crossover.
Use the Univest Screener to check live fundamentals before you act on any idea.
Divergence is another signal. If price makes a new high but the MACD line makes a lower high, momentum may be weakening. This bearish divergence does not guarantee a fall, but it warns that the move is losing force.
Using the MACD Crossover Well
A MACD crossover on a daily chart of the Nifty 50 is a common way to gauge market momentum. A crossover above the zero line carries more weight than one far below it, because it agrees with the larger trend. Many traders also wait for the histogram to confirm and check that volume supports the move.
- Use the indicator along with price action, such as support and resistance.
- Confirm on a higher time frame before acting on a lower one.
- Place a stop loss, since any signal can fail.
- Avoid trading every crossover in a narrow range.
Limits of the MACD Indicator
In a sideways market, the MACD line keeps crossing the signal line without any real trend, which creates a string of small losses. The indicator is also a lagging tool, so an entry may come after a good part of the move is over. Sharp news driven moves can reverse before a crossover appears. Treat the MACD as one input, not a complete system, and test any rule on past data before risking money.
Download the Univest iOS App or Univest Android App to get daily stock research and market updates.
Conclusion
The MACD indicator turns two moving averages into a view of momentum, with the signal line and histogram helping to time changes. It is useful in trends and weak in sideways markets.
Combine it with price action and risk control, and remember that no indicator predicts the market.
Disclaimer: Data and figures in this article are sourced from publicly available information. These may or may not be accurate. Please verify all data with the official NSE (nseindia.com) and BSE (bseindia.com) websites before making any investment decision. Investments in securities are subject to market risk. This content is for educational purposes only and is not investment advice by Univest (SEBI RA INH000013776).
Frequently Asked Questions
What does MACD stand for?
Ans. MACD stands for moving average convergence divergence. It compares two exponential moving averages of price to show momentum and trend direction, and it is plotted with a signal line and a histogram.
What is the default MACD setting?
Ans. The default setting is 12, 26 and 9. The MACD line is the 12 period EMA minus the 26 period EMA, and the signal line is a 9 period EMA of the MACD line.
How do you read a MACD crossover?
Ans. A cross of the MACD line above the signal line is read as bullish momentum, and a cross below is read as bearish. Crossovers near or above the zero line are usually given more weight.
What is the MACD histogram?
Ans. The histogram shows the gap between the MACD line and the signal line as bars. Growing bars show building momentum, and shrinking bars show momentum fading, often before a crossover.
What is MACD divergence?
Ans. Divergence occurs when price and the MACD line move in different directions, such as a higher price high with a lower MACD high. It signals weakening momentum, but it is not a sure reversal.
Does MACD work in sideways markets?
Ans. Not well. In a range, the lines cross often without a real trend, which leads to false signals. Many traders use another tool or skip trading until a clear trend forms.
Is MACD a leading or lagging indicator?
Ans. It is a lagging indicator because it is built from moving averages of past prices. The histogram can give an earlier hint, but the signals still come after price has moved.
Recent Articles

SEBI F&O Study FY22 to FY26: What the Data Says About Retail Traders' Losses in India
16 November 2026

How to Read a Balance Sheet: Assets, Liabilities, Equity and the Key Ratios Every Share Investor Should Check Before Buying
16 November 2026

DuPont Analysis Explained: Breaking Return on Equity Into Margin, Asset Turnover and Equity Multiplier With a Worked Example
16 November 2026

Price to Book Ratio Explained: How to Calculate P/B, What a Low or High PB Means and Why Banks Are Valued This Way
16 November 2026
Note: This blog is for information purpose only. Investments and trading are subject to market risks, read all scheme related documents carefully.
Reviews
Recent Posts
SEBI F&O Study FY22 to FY26: What the Data Says About Retail Traders' Losses in India
How to Read a Balance Sheet: Assets, Liabilities, Equity and the Key Ratios Every Share Investor Should Check Before Buying
DuPont Analysis Explained: Breaking Return on Equity Into Margin, Asset Turnover and Equity Multiplier With a Worked Example
Price to Book Ratio Explained: How to Calculate P/B, What a Low or High PB Means and Why Banks Are Valued This Way
Repo Rate and Stock Market: How RBI Rate Decisions Move Banks, Real Estate, Autos and the Index, and What Investors Should Watch
Popular this week
REIT and InvIT Explained: How They Earn, Distribution Rules, Taxation, Risks and How They Differ From Direct Property Investing

Uniresearch Global Pvt Ltd
Research Analyst
SEBI Registration Number — INH000013776
Uniresearch is a subsidiary of Univest Communication Technologies Private Limited
Company Address: Registered Address: Ground Floor, Unitech Commercial Tower 2, Block B, Greenwood City, Unit 1-3, Sector 45, Gurugram, Haryana 122003
Write to us : support@univest.in, compliance@univest.in
Verify on SEBI registry →RESEARCH ANALYST
Get SEBI Registered
advice on the stocks
trending today.
Get 3 FREE Trade Ideas
for Startups Accelerator 2024
Trusted by 1Cr Indians
Awarded No.1 by Economic Times





