What it means
MACD is built from three pieces: the MACD line, the signal line and the histogram. The MACD line is the difference between a fast moving average of price and a slower one, so it rises when recent prices are pulling away from the longer-run trend.
The signal line is a smoothed version of the MACD line, and the histogram is simply the gap between the two. The averages involved are exponential moving averages, which weight recent days more heavily than old ones so the indicator reacts quickly to fresh news.
The standard settings are 12 periods for the fast average, 26 for the slow one and 9 for the signal line. Those numbers are inherited conventions rather than laws of nature, and many trading desks test other combinations.
For a finance team outside a trading floor, MACD matters mainly because it shapes how investors and commentators talk about your share price. When someone says a stock has made a bullish crossover, they usually mean the MACD line has crossed above its signal line.
Knowing that keeps you from reading technical chatter as a verdict on your fundamentals. Users watch three events in particular: the crossover, the zero-line cross and divergence.
A zero-line cross happens when the fast and slow averages meet, which means the medium-term trend has flipped direction. Divergence is when price makes a new high but MACD does not, which suggests the move is running out of buyers.
The main nuance is that MACD is a lagging indicator built entirely from past prices, so it confirms moves rather than predicting them. In choppy, sideways markets it produces frequent false crossovers, which is why most people pair it with a volume or volatility measure before acting.
In practice
Real-world examples.
Example
An investor relations manager at a mid-cap software firm notices a spike in trading volume with no news. A broker note explains that the stock has just triggered a MACD crossover, so several momentum funds added to their positions. She uses that in her board update to separate a technical flow story from any change in investor sentiment about the business.
Example
A commodities buyer at a food manufacturer tracks MACD on a coffee futures chart alongside crop reports. The histogram has been shrinking for three weeks while prices keep drifting up, which reads as fading momentum. He decides to hedge a larger share of next quarter's requirement rather than wait for a further fall.
Example
A fintech product team builds a stock screening feature for retail customers. They include MACD because it is one of the most requested indicators, but they add a plain-English caption explaining that it reacts to past prices. Support tickets asking what the coloured bars mean drop sharply after the caption goes live.
Think of it
“MACD shows trend momentum-difference between moving averages.
Formula
Calculation
MACD line = 12-period exponential moving average (EMA) of price - 26-period EMA of price
Signal line = 9-period EMA of the MACD line
Histogram = MACD line - Signal line
An EMA gives the newest price a weight of 2 / (periods + 1), so a 12-period EMA puts roughly 15% of its weight on the latest close because 2 / 13 = 0.1538.
Worked example. A listed packaging company's shares close at $49.20. The 12-day EMA is $48.60 and the 26-day EMA is $47.10, so the MACD line is $48.60 - $47.10 = $1.50. The 9-day EMA of the MACD line currently sits at $1.20, so the histogram is $1.50 - $1.20 = $0.30. The MACD line is above its signal line and the histogram is positive, so momentum is pointing upward.
Two weeks later the 12-day EMA has slipped to $48.10 while the 26-day EMA has edged up to $47.35. The MACD line is now $48.10 - $47.35 = $0.75, and with the signal line at $1.05 the histogram is $0.75 - $1.05 = -$0.30. The MACD line has crossed below the signal line, which chartists call a bearish crossover.Case study
Seen in the real world.
Northwind Optics is an illustrative, entirely fictional listed lens manufacturer used here to show how MACD enters a boardroom conversation. Over six weeks its share price drifted from $46 to $49 on no announcements, and the chief executive asked the finance director whether the market had learned something about the pending contract renewal.
The finance director pulled the chart and found the MACD line had crossed above its signal line at the start of the run, with the histogram widening from $0.05 to $0.30. Trading volume was concentrated in a handful of quantitative funds that publish momentum-driven strategies. Nothing in the order book or the customer pipeline had changed.
She reported that the move looked technical rather than informational, and recommended no change to the disclosure plan. When the histogram turned negative a month later and the price retraced to $47, the board was neither surprised nor tempted to issue a statement, which is exactly what a fictional finance director hopes for.
Watch out
Common mistakes.
- Treating a MACD crossover as a forecast. The indicator is calculated from prices that have already happened, so it describes momentum that has already shifted rather than momentum that is about to.
- Comparing MACD values across different shares. The output is expressed in the currency units of the price, so a $1.50 reading on a $50 stock is not comparable to a $1.50 reading on a $500 stock.
- Using the default 12, 26 and 9 settings on data that is not daily. Applying daily conventions to weekly or intraday charts changes the effective look-back period and produces signals nobody has tested.
Questions
People also ask.
Does MACD say anything about whether a company is well run?
No, it only reflects the recent path of the share price, so fundamentals such as margins, cash generation and debt levels sit entirely outside it.
What is the difference between the MACD line and the histogram?
The MACD line is the gap between the fast and slow averages, while the histogram is the gap between the MACD line and its own smoothed signal line.
Why do people mention MACD divergence so often?
Because divergence is one of the few situations where the indicator disagrees with price, and disagreements are what traders find informative.
From the founder's library

Take it further with the book.
Build your financial confidence beyond this definition. Shihan's full-length guide, Accounting Fundamentals, takes the same plain-English approach and turns it into a complete, practical playbook for non-finance managers, business owners and students - with chapter-end quiz answers and presentation slides included.
25% off with code MMHQ25, applied at checkout. Priced in USD - checkout may show the equivalent in your local currency.
View the book and save 25%