How to Use the MACD Indicator
The MACD is a momentum indicator that uses the difference between short-term and long-term moving averages to identify trend direction and potential reversal points.
What is MACD?
MACD stands for Moving Average Convergence Divergence. Developed by Gerald Appel, it tracks the distance between two Exponential Moving Averages (EMAs) of different periods to reveal trends and momentum.
The basic idea is simple: if the short-term moving average is above the long-term moving average, it suggests that recent price action is stronger than in the past, and vice versa. The MACD condenses the gap between these two lines into a single number, allowing you to quickly gauge the strength of a trend.
This article provides an educational explanation to help you understand the indicator's principles. The MACD is not a tool for predicting the future, but rather a tool that processes past prices to aid in interpretation.
How is it Calculated?
The MACD consists of three components. First, the MACD line is calculated by subtracting the longer-term EMA from the shorter-term EMA; a widely used setting is to subtract the 26-day EMA from the 12-day EMA. Second, the signal line is a 9-day EMA of the MACD line itself. Third, the histogram represents the difference between the MACD line and the signal line as bars.
It's easier to understand with numbers. If a stock's 12-day EMA is $110 and its 26-day EMA is $104, the MACD line would be 6. If the 9-day signal line at the same time is 4, then the histogram would be 2 (6 minus 4), with the bar rising above the zero line. This positive bar indicates that short-term momentum is outpacing the signal line.
The numbers 12, 26, and 9 are merely conventional settings, not absolute standards. Shorter periods can be used for a quicker view, while longer periods might be preferred for long-term trends. However, changing these settings will alter both the frequency and sensitivity of the signals.
Criteria for Interpreting Signals
The most basic signal is a crossover. When the MACD line crosses above the signal line from below, it's considered a golden cross, signaling an upward trend. When it crosses below the signal line from above, it's a death cross, signaling a downward trend. At these points, the histogram approaches zero just before the crossover and then changes its sign after the crossover.
The second criterion is the zero line. If the MACD line is above the zero line, it means the short-term EMA is higher than the long-term EMA, indicating an upward trend. If it's below the zero line, it suggests a downward trend. The zero line helps determine whether a crossover occurred in line with the prevailing trend or against it.
The third is divergence. If the stock price makes a new high but the MACD fails to surpass its previous high, it's read as a warning that upward momentum is weakening. Conversely, if the stock price makes a new low but the MACD makes a higher low, it signals that downward momentum is diminishing.
How to Use it in Practice
The MACD's reliability increases when combined with other tools rather than used in isolation. For example, if a golden cross appears in a stock trading above its 200-day moving average, the signal's consistency is higher because the major trend and short-term momentum are pointing in the same direction. This approach involves first determining the trend direction and then refining entry points with the MACD.
The rate of change in the histogram is also useful. If the bars continue to grow, it indicates accelerating momentum. If the bars shorten within the positive territory, it suggests that while the uptrend is maintained, its strength is waning. Such changes often appear before a crossover actually occurs, serving as an early clue.
Whether it's for stocks on Korea's KOSPI or KOSDAQ markets, or for stocks on the US NASDAQ, the calculation method is the same. However, because each market has a different volatility structure, the frequency of signals can vary even with the same settings. Therefore, it's necessary to validate the settings for the specific market and timeframe you are analyzing.
Pitfalls and Limitations
Since the MACD is based on moving averages, it is inherently a lagging indicator. Signals are confirmed only after prices have already moved, which can lead to missing good entry prices at the start of a trend or receiving signals late after a trend has ended. Expecting it to catch quick reversals can often lead to disappointment.
Its weakness is particularly evident in sideways markets. In periods of non-directional price movement, the two lines repeatedly cross near the zero line, generating false signals. A common 'whipsaw' pattern involves entering on a golden cross only to incur a loss from a death cross a few days later.
Divergence is also not a foolproof signal. In strong trends, the discrepancy between price and the indicator can persist for a long time. Divergence only suggests the possibility of trend weakening; it does not pinpoint a reversal point, making it risky to rely on it as a sole basis for decisions.
Key Takeaways
When looking at the MACD, it's good practice to check three things in order: First, which side of the zero line is the MACD line on, indicating the direction of the broader trend? Second, does the crossover align with that trend? Third, what do the histogram and divergence tell you about the strength of the momentum?
Above all, the MACD is merely a derivative indicator, and it cannot replace the original information provided by price and volume. A balanced judgment is only achieved when cross-referencing it with other perspectives, such as trend following or volume analysis. This article is for educational purposes, and the responsibility for investment decisions rests solely with the investor.
Related reading
Get the app
Your watchlist and portfolio, one tap from your home screen — the Margin Call app
