
Binarium
Best Binary Options Broker 2020!
Good Choice for Beginners!
Free Trading Education, Free Demo Account!
Get a SignUp Bonus Now!
Moving Average Convergence Divergence – MACD
What Is Moving Average Convergence Divergence – MACD?
Moving Average Convergence Divergence (MACD) is a trendfollowing momentum indicator that shows the relationship between two moving averages of a security’s price. The MACD is calculated by subtracting the 26period Exponential Moving Average (EMA) from the 12period EMA.
The result of that calculation is the MACD line. A nineday EMA of the MACD called the “signal line,” is then plotted on top of the MACD line, which can function as a trigger for buy and sell signals. Traders may buy the security when the MACD crosses above its signal line and sell – or short – the security when the MACD crosses below the signal line. Moving Average Convergence Divergence (MACD) indicators can be interpreted in several ways, but the more common methods are crossovers, divergences, and rapid rises/falls.
Moving Average Convergence Divergence – MACD
The Formula for MACD:
MACD is calculated by subtracting the longterm EMA (26 periods) from the shortterm EMA (12 periods). An exponential moving average (EMA) is a type of moving average (MA) that places a greater weight and significance on the most recent data points. The exponential moving average is also referred to as the exponentially weighted moving average. An exponentially weighted moving average reacts more significantly to recent price changes than a simple moving average (SMA), which applies an equal weight to all observations in the period.
Key Takeaways
 MACD is calculated by subtracting the 26period EMA from the 12period EMA.
 MACD triggers technical signals when it crosses above (to buy) or below (to sell) its signal line.
 The speed of crossovers is also taken as a signal of a market is overbought or oversold.
 MACD helps investors understand whether the bullish or bearish movement in the price is strengthening or weakening.
Learning From MACD
The MACD has a positive value whenever the 12period EMA (blue) is above the 26period EMA (red) and a negative value when the 12period EMA is below the 26period EMA. The more distant the MACD is above or below its baseline indicates that the distance between the two EMAs is growing. In the following chart, you can see how the two EMAs applied to the price chart correspond to the MACD (blue) crossing above or below its baseline (red dashed) in the indicator below the price chart.
MACD is often displayed with a histogram (see the chart below) which graphs the distance between the MACD and its signal line. If the MACD is above the signal line, the histogram will be above the MACD’s baseline. If the MACD is below its signal line, the histogram will be below the MACD’s baseline. Traders use the MACD’s histogram to identify when bullish or bearish momentum is high.
MACD vs. Relative Strength
The relative strength indicator (RSI) aims to signal whether a market is considered to be overbought or oversold in relation to recent price levels. The RSI is an oscillator that calculates average price gains and losses over a given period of time; the default time period is 14 periods with values bounded from 0 to 100.
MACD measures the relationship between two EMAs, while the RSI measures price change in relation to recent price highs and lows. These two indicators are often used together to provide analysts a more complete technical picture of a market.
These indicators both measure momentum in a market, but, because they measure different factors, they sometimes give contrary indications. For example, the RSI may show a reading above 70 for a sustained period of time, indicating a market is overextended to the buy side in relation to recent prices, while the MACD indicates the market is still increasing in buying momentum. Either indicator may signal an upcoming trend change by showing divergence from price (price continues higher while the indicator turns lower, or vice versa).
Limitations of MACD
One of the main problems with divergence is that it can often signal a possible reversal but then no actual reversal actually happens – it produces a false positive. The other problem is that divergence doesn’t forecast all reversals. In other words, it predicts too many reversals that don’t occur and not enough real price reversals.
“False positive” divergence often occurs when the price of an asset moves sideways, such as in a range or triangle pattern following a trend. A slowdown in the momentum – sideways movement or slow trending movement – of the price will cause the MACD to pull away from its prior extremes and gravitate toward the zero lines even in the absence of a true reversal.

Binarium
Best Binary Options Broker 2020!
Good Choice for Beginners!
Free Trading Education, Free Demo Account!
Get a SignUp Bonus Now!
Additional MACD Resources
Are you interested in using MACD for your trades? Check out our own primer on the MACD and Spotting Trend Reversals with MACD for more information.
If you’d like to learn about more indicators, Investopedia’s Technical Analysis Course provides a comprehensive introduction to the subject. You’ll learn basic and advanced technical analysis, chart reading skills, technical indicators you need to identify, and how to capitalize on price trends in over five hours of ondemand video, exercises, and interactive content.
Example of MACD Crossovers
As shown on the following chart, when the MACD falls below the signal line, it is a bearish signal which indicates that it may be time to sell. Conversely, when the MACD rises above the signal line, the indicator gives a bullish signal, which suggests that the price of the asset is likely to experience upward momentum. Some traders wait for a confirmed cross above the signal line before entering a position to reduce the chances of being “faked out” and entering a position too early.
Crossovers are more reliable when they conform to the prevailing trend. If the MACD crosses above its signal line following a brief correction within a longerterm uptrend, it qualifies as bullish confirmation.
If the MACD crosses below its signal line following a brief move higher within a longerterm downtrend, traders would consider that a bearish confirmation.
Example of Divergence
When the MACD forms highs or lows that diverge from the corresponding highs and lows on the price, it is called a divergence. A bullish divergence appears when the MACD forms two rising lows that correspond with two falling lows on the price. This is a valid bullish signal when the longterm trend is still positive. Some traders will look for bullish divergences even when the longterm trend is negative because they can signal a change in the trend, although this technique is less reliable.
When the MACD forms a series of two falling highs that correspond with two rising highs on the price, a bearish divergence has been formed. A bearish divergence that appears during a longterm bearish trend is considered confirmation that the trend is likely to continue. Some traders will watch for bearish divergences during longterm bullish trends because they can signal weakness in the trend. However, it is not as reliable as a bearish divergence during a bearish trend.
Example of Rapid Rises or Falls
When the MACD rises or falls rapidly (the shorterterm moving average pulls away from the longerterm moving average), it is a signal that the security is overbought or oversold and will soon return to normal levels. Traders will often combine this analysis with the Relative Strength Index (RSI) or other technical indicators to verify overbought or oversold conditions.
It is not uncommon for investors to use the MACD’s histogram the same way they may use the MACD itself. Positive or negative crossovers, divergences, and rapid rises or falls can be identified on the histogram as well. Some experience is needed before deciding which is best in any given situation because there are timing differences between signals on the MACD and its histogram.
How reliable is using the moving average convergence divergence (MACD) in trading strategies?
The moving average convergence divergence (MACD) oscillator is one of the most popular technical indicators. Having characteristics of both leading and lagging indicators, along with a moving average trigger line, the MACD presents the kind of versatility and multifunctionality traders covet.
Perhaps more importantly, the trendfollowing and momentumforecasting abilities of the MACD are not bogged down by extreme complexity. This makes it accessible to both novice and experienced traders and allows for easier interpretation and confirmation. For this reason, many consider it among the most efficient and reliable technical tools.
Though it is not useful for intraday trading, the MACD can be applied to daily, weekly or monthly price charts. The basic MACD trading strategy uses a twomovingaverages system – one 12period and one 26period – along with a nineday exponential moving average (EMA) that serves to produce clear trading signals. The interaction between the two moving averages line, its own nineday EMA and the basic price action serves as the foundation for MACD interpretation.
How MACD Can Be Used
Traders can use the MACD for signal line crossovers when the nineday EMA is crossed by the twomovingaverages line. Additional signals are generated when the twomovingaverages line crosses above or below the zero centerline on the oscillator. You can spot divergences between the MACD lines and the price action on the chart, highlighting weak trends and possible reversals.
Understand that no technical tool can forecast with certainty. No trading system can either guarantee profits or eliminate risks. The MACD has many strengths, but it is not infallible and struggles, particularly in sideways markets. Since the MACD is based on underlying price points, overbought and oversold signals are not as effective as a pure volumebased oscillator. Always use other technical tools to confirm signals produced by the MACD, as it is the ability to work in conjunction with so many other tools that gives the MACD its reliability.
How to Use the MACD Indicator
MACD is an acronym for Moving Average Convergence Divergence.
This tool is used to identify moving averages that are indicating a new trend, whether it’s bullish or bearish.
With an MACD chart, you will usually see three numbers that are used for its settings.
 The first is the number of periods that is used to calculate the fastermoving average.
 The second is the number of periods that is used in the slower moving average.
 And the third is the number of bars that is used to calculate the moving average of the difference between the faster and slower moving averages.
 The 12 represents the previous 12 bars of the faster moving average.
 The 26 represents the previous 26 bars of the slower moving average.
 The 9 represents the previous 9 bars of the difference between the two moving averages. This is plotted by vertical lines called a histogram (the green lines in the chart above).
There is a common misconception when it comes to the lines of the MACD.
The two lines that are drawn are NOT moving averages of the price. Instead, they are the moving averages of the DIFFERENCE between two moving averages.
In our example above, the faster moving average is the moving average of the difference between the 12 and 26period moving averages.
This means that we are taking the average of the last 9 periods of the faster MACD line and plotting it as our slower moving average.
This smoothens out the original line even more, which gives us a more accurate line.
The histogram simply plots the difference between the fast and slow moving average.
If you look at our original chart, you can see that, as the two moving averages separate, the histogram gets bigger.
This is called divergence because the faster moving average is “diverging” or moving away from the slower moving average.
As the moving averages get closer to each other, the histogram gets smaller. This is called convergence because the faster moving average is “converging” or getting closer to the slower moving average.
And that, my friend, is how you get the name, Moving Average Convergence Divergence! Whew, we need to crack our knuckles after that one!
Ok, so now you know what MACD does. Now we’ll show you what MACD can do for YOU.
How to Trade Using MACD
Because there are two moving averages with different “speeds”, the faster one will obviously be quicker to react to price movement than the slower one.
When a new trend occurs, the fast line will react first and eventually cross the slower line. When this “crossover” occurs, and the fast line starts to “diverge” or move away from the slower line, it often indicates that a new trend has formed.
From the chart above, you can see that the fast line crossed under the slow line and correctly identified a new downtrend.
This is because the difference between the lines at the time of the cross is 0.
As the downtrend begins and the fast line diverges away from the slow line, the histogram gets bigger, which is good indication of a strong trend.
Let’s take a look at an example.
In EUR/USD’s 1hour chart above, the fast line crossed above the slow line while the histogram disappeared. This suggested that the brief downtrend would eventually reverse.
There is one drawback to MACD. Naturally, moving averages tend to lag behind price. After all, it’s just an average of historical prices.
Since the MACD represents moving averages of other moving averages and is smoothed out by another moving average, you can imagine that there is quite a bit of lag. However, MACD is still one of the most favored tools by many traders.

Binarium
Best Binary Options Broker 2020!
Good Choice for Beginners!
Free Trading Education, Free Demo Account!
Get a SignUp Bonus Now!