While most technical indicators only provide a single piece of information about historical price data, the MACD indicator is a versatile 2-in-1 indicator that gauges trend direction and the strength of a trend at the same time. MACD can help investors calculate the direction, length, strength and momentum of a given asset’s price.
In this article, we will study this indicator to learn how does a MACD indicator work and how to read MACD charts to potentially identify buy and sell signals.
What is the MACD Indicator?
The Moving Average Convergence Divergence (MACD) is an oscillator-type indicator that is widely used by traders for technical analysis (TA). MACD is a trend-following tool that utilizes moving averages to determine the momentum of a stock, cryptocurrency, or another tradeable asset.
Developed by Gerald Appel in the late 1970s, the Moving Average Convergence Divergence indicator tracks pricing events that have already occurred and thus, falls into the category of lagging indicators (which provide signals based on past price action or data). The MACD may be useful for measuring market momentum and possible price trends and is utilized by many traders to spot potential entry and exit points.
What Are Moving Averages?
Before diving into the mechanisms of MACD, it is important to understand the concept of moving averages. A moving average (MA) is simply a line that represents the average value of previous data during a predefined period.
In the context of financial markets, moving averages are among the most popular indicators for technical analysis (TA) and they can be divided into two different types: simple moving averages (SMAs) and exponential moving averages (EMAs). While the SMAs weigh all data inputs equally, EMAs assign more importance to the most recent data values (newer price points).
How Does a MACD Indicator Work?
The MACD indicator is generated by subtracting two exponential moving averages (EMAs) to create the main line (MACD line), which is then used to calculate another EMA that represents the signal line.
In addition, there is the MACD histogram, which is calculated based on the differences between those two lines. The histogram, along with the other two lines, fluctuates above and below a centerline, which is also known as the zero line.
Therefore, the MACD indicator consists of three elements moving around the zero line:
- The MACD line (1): helps determine upward or downward momentum (market trend). It is calculated by subtracting two exponential moving averages (EMA).
- The signal line (2): an EMA of the MACD line (usually 9-period EMA). The combined analysis of the signal line with the MACD line may be helpful in spotting potential reversals or entry and exit points.
- Histogram (3): a graphical representation of the divergence and convergence of the MACD line and the signal line. In other words, the histogram is calculated based on the differences between the two lines.
How to Read MACD Charts
As the name suggests, the Moving Average Convergence Divergence indicator tracks the relationships between moving averages, and the correlation between the two lines can be described as either convergent or divergent. Convergent when the lines gravitate toward one another and divergent when they move apart.
Still, the relevant signals of the MACD indicator are related to the so-called crossovers, which happen when the MACD line crosses above or below the centerline (centerline crossovers), or above or below the signal line (signal line crossovers).
Keep in mind that both centerline and signal line crossovers may happen multiple times, producing many false and tricky signals - especially in regards to volatile assets, such as cryptocurrencies. Therefore, one should not rely on the MACD indicator alone.
Centerline Crossovers
Centerline crossovers happen when the MACD line moves either on the positive or negative area. When it crosses above the centerline, the positive MACD value indicates that the 12-day EMA is greater than the 26-day. In contrast, a negative MACD is shown when the MACD line crosses below the centerline, meaning that the 26-day average is higher than the 12-day. In other terms, a positive MACD line suggests a stronger upside momentum, while a negative one may indicate a stronger drive to the downside.
Signal Line Crossover
When the MACD line crosses above the signal line, traders often interpret it as a potential buying opportunity (entry point). On the other hand, when the MACD line crosses below the signal line, traders tend to consider it a selling opportunity (exit point). While the signal crossovers can be helpful, they are not always reliable. It is also worth considering where they take place in the chart as a way to minimize the risks.
For instance, if the crossover calls for a buy but the MACD line indicator is below the centerline (negative), market conditions may still be considered bearish. Conversely, if a signal line crossover indicates a potential selling point, but the MACD line indicator is positive (above the zero line), market conditions are still likely to be bullish. In such a scenario, following the sell signal may carry more risk (considering the larger trend).
MACD and Price Divergences
Along with centerline and signal line crossovers, MACD charts may also provide insights through divergences between the MACD chart and the asset’s price action.
For example, if the price action of a cryptocurrency makes a higher high while the MACD creates a lower high, we would have a bearish divergence, indicating that despite the price increase, the upside momentum (buying pressure) is not as strong as it was. Bearish divergences are usually interpreted as selling opportunities because they tend to precede price reversals.
On the contrary, if the MACD line forms two rising lows that align with two falling lows on the asset price, then this is considered a bullish divergence, suggesting that despite the price decrease the buying pressure is stronger. Bullish divergences tend to precede price reversals, potentially indicating a short-term bottom (from a downtrend to an uptrend).
Closing Thoughts
When it comes to technical analysis, the Moving Average Convergence Divergence oscillator is one of the most useful tools available. Not only because it is relatively easy to use, but also because it is quite effective at identifying both market trends and market momentum. As such, learning how to read MACD can help you in determining your entries and exits.
However, like most TA indicators, the MACD is not always accurate and may provide numerous false and misleading signals – especially in relation to volatile assets or during weak-trending or sideways price action. Consequently, many traders use MACD with other indicators – such as the RSI indicator – to reduce risks and to further confirm the signals.





















