MACD and Its Power in Forex Trading [With Pictures]

MACD is one of the most reliable indicators. Although we do not believe in using any indicators more than candlesticks and Bollinger Bands in our own trading and we follow the candlesticks charting and Bollinger Bands trading strategy to find the trade setups, still we believe that MACD is a strong indicator, specially for novice traders who are used to get in and out of the markets too early.

There are so many professional Forex and stock traders who rely on MACD. Of course, we should not exaggerate about this indicator. It is not a magic tool to show you buy/sell signals. However, it is one of the best indicators. It can be used along with RSI to confirm the trade setups.

Why MACD Works?

Before I answer why MACD works, I prefer to explain about one of the most important reasons of Forex traders’ failures. Maybe you have heard this a lot, but it has to be reminded in this article too.

Before you read the rest of this article, please subscribe to our newsletter:

Lack of patience is one of the most important reasons of Forex traders’ failures. Most traders are not patient enough to wait for a strong trade setup. After several minutes, hours or days of waiting for a trade setup (depend on the time frame or system they use), they lose their patience and force themselves to take a position while there is no sharp and clear trade setup. So they lose.

On the other hand, when they succeed to take a good position, they get out too early with a small profit because they are afraid of losing the profit the position has made for them. They do not have enough patience to hold a position until it hits the target. So they limit their profit because they have no patience to hold their positions longer.

MACD is a solution for these kinds of problems because it is delayed and this delay forces you to wait more, both when you are waiting for a trade setup, and when you are holding a position. That’s why MACD is recommended both by Forex and stock traders.

(Note: Heikin Ashi is one of the other tools that helps you wait more both before the trade setup and while you are in the market.)

Sometimes your other indicators and even the price chart show you a trade setup, but MACD tells you to wait, and it keeps you from going against the trend and losing money. Also, in many cases that you want to follow a trend, MACD tells you that it is too late and the trend is exhausted and may reverse at any time. In this article, I will do my best to cover all of these cases and help you use MACD in your trades in the best possible way.

What Is MACD Definition?

MACD stands for Moving Average Convergence Divergence. MACD is an indicator used in technical analysis. This indicator is developed by Gerald Appel who was a trader and market technical analyst.

MACD is the difference of a 12 and a 26 exponential moving average. MACD subtracts the 26-period from the 12-period and the result will be displayed in a single line which is the MACD main line. Typical MACD indicators, have one extra line, which is an exponential moving average of the main line. This moving average is set to 9 by default and it is called signal line. In MetaTrader or MT4, default MACD doesn’t have the main MACD line. Instead, it has MACD bars (histogram). On other platforms, you can see both the MACD main line and MACD histogram.

MACD histogram is the difference of MACD main line and the 9 exponential moving average:

MACD Histogram: MACD Main Line – Signal Line

As you see, MACD is nothing but the combination of two moving averages. In spite of this, it is a very strong and reliable indicator because it eliminates the market noise.

MACD Formula

If you are a trader, probably MACD formula will have no use for you. You will need it, if you are a programmer and want to use MACD in designing and developing an EA (expert advisor) or robot, or your custom indicator. However, the formula helps you understand the indicator better. We already talked about this indicator’s calculation:

Main Line: 12 EMA – 26 EMA
Signal Line: 9 EMA of Main Line
Histogram: Main Line – Signal Line

Download the Colored MACD 😀

The MACD that comes with MetaTrader by default has only one color with the histogram. If you like to have the same colored MACD we have on our charts (the screenshots below), you can download and install it to your platform before we start explaining about MACD and the way we use it in technical analysis and Forex trading. This indicator works on MetaTrader 4 or MT4. You need to copy and paste it to the /experts/indicators/ folder and then restart your platform and apply the indicator on the price chart. Click Here to download the colored MACD.

To install the Colored MACD on your MT4 platform, you have to copy the indicator to the “Indicators” folder.

To do that:

  1. Click on “File” menu at the top left of your MT4 platform.
  2. Click on “Open Data Folder”.
  3. Open the “MQL4” folder.
  4. Open the “Indicators” folder.
  5. Copy and paste the indicator to “Indicators” folder.
  6. Restart the MT4 platform.
  7. Open a price chart.
  8. Press Ctrl+N to open the navigator. Open the “Indicators” dropdown.
  9. Drag “LuckScout-MACD.ex4” and drop it on the chart.

If you don’t like to install the colored MACD, then you can use the regular one that comes with MT4 or your favorite trading platform.

How Does MACD Look on the Price Chart?

The chart below shows how colored MACD looks. It also has the Moving Average 9 but we always set it to zero, because we don’t use it. It doesn’t help. In the indicator you downloaded above, it is set to zero by default, but you can change it back to 9 if you like.

MACD Bars (Histogram) you see on the chart below reflect the difference of the main and signal lines. On the price chart, you see the main and signal lines. The red one is the main line and the green line is the signal line. As you see, wherever the distance of these two moving lines is bigger, MACD bars will become longer too, and wherever these two lines cross, the length of the related MACD bar is zero (follow the black arrows).

As you see, when there is an upward movement and pressure (the market is bullish), MACD histograms go up and change to blue and when there is a downward pressure and movement (the market is bearish), they go down and change the color to red.

MACD and moving averages

MACD bars form highs and lows. When we have an uptrend, they form higher lows and when we have a downtrend, they form lower highs and when bars go under the zero level, they form lower lows:

Higher highs formed by MACD histogram      Lower lows formed by MACD histogram

How Does MACD Save You from Going against the Trend?

As it was mentioned above, MACD is delayed. It is a lagging indicator, and so when you see a reversal signal with candlesticks and Bollinger Bands and you want to take a position against the trend, MACD stops you. Of course, if you know about the Elliott Waves and also the cycles, you will not take any positions against the trend, even if MACD is not on the chart, but as knowing the cycles and Elliott Waves is very difficult, you can use MACD to stay away from going against the trend.

Please look at the below reversal signal. A candlestick is formed completely out of Bollinger Bands and then three Bearish candlesticks form that are all reversal signals. Three candlesticks before this, you already had another reversal signal, but you should have ignored it because it was fresh and it formed right after a big Bullish candlestick. But, the second sell signal (the yellow zone) looks like a good short trade setup. Let’s assume that you wouldn’t have MACD on your chart. You could go short and set your stop loss above the highest high.

False short trade setup

And guess what? Your stop loss would be triggered:

Hitting the stop loss after a false short trade setup

So going against MACD is risky. Of course, the signals above that formed by candlesticks are not strong enough. That is why the price did not reverse and kept on going up. As novice traders are unable to distinguish the strong candlestick trade setups, having MACD can be a big help not to go against the trend based on weak trade setups.

Going against trends based on the weak candlestick signals is not the only mistake you could make. MACD also indicates whether the market is overbought or oversold. When it is overbought, it is riskier to go long and when it is oversold, it is riskier to go short. When the market is overbought, Bulls (buyers) can start collecting their profit (they sell) at any time, and so the price may go down, and when the market is oversold, Bears can start buying at any time, and so the price may go up. Of course, the candlesticks also tell you if the market is overbought or oversold, but MACD is also a big help. Let’s take a look at an example:

You are a trend trader. You have an uptrend here (below). You see some reversal signals, but you wait for a continuation signal to go long. A strong Bullish candlestick forms (the last one on the below chart) and at the same time that the last MACD bar changes its color and shows an upward pressure. This is what you have been waiting for to go long, but you don’t consider that the market has been going up for a long time (overbought) and can reverse at any time. Of course it can go much higher, but we never know:

Going long while the market is overbought

This position goes up only for one more candlestick and then goes down and triggers your stop loss:

Losing on an overbought market

MACD Buy-Sell Signals

MACD trading is so common among Forex traders. They just wait for a fresh MACD movement for a few bars and then they enter. MACD is really good for trend trading. It is also good for confirmation of reversal signals. MACD has to be used as a confirmation only. The main indicator is the price. If you use MACD as a confirmation for support and resistance breakout, it will be a big help. Those who trade based on support/resistance breakout have to have MACD on their charts if they are experienced enough in technical analysis, otherwise their success rate will not be reasonable.

Look at the image below. There is a trend line with valid and visible support line. You are waiting for support breakout to go short. MACD starts going down for several candlesticks before the breakout, but you don’t go short because it can bounce up as soon as it touches the support line. One of the candlesticks closes below the support line and at the same time MACD goes up, but it is fresh and it is not oversold. It is above the zero level too. So you go short at the open of the next candlestick, set your stop loss above the high price of the last candlestick, and your target will be the next support level. It goes down and hits the target very easily.

MACD confirms the support breakout.

Now look at the chart below which is the same as above, but it just shows another support breakout which happened a while after the above support breakout. Obviously, it is a new chance to take another short position, but look at MACD and its difference with the previous position:

With the previous position, MACD started going down while it was way above the zero level. It means, you would go short while market has been overbought which is a good decision. In this position (below), not only MACD is not above the zero level, but it has already started going up and making higher lows. So the market is oversold and your sell signal is not fresh. It is a second hand sell signal 🙂

And guess what would happen if you went short and you didn’t consider MACD:

going short when the market is oversold results in loss.

Yes, your position triggers the stop loss before it hits the target.

MACD Divergence

MACD Divergence is one of the most famous and the strongest trading signals that MACD generates. MACD Divergence forms when price goes up and makes higher highs and at the same time, MACD bars go down and make lower highs. If you use the traditional MACD, then the same divergence can form with the main and signal line.

The rule says: price will finally follow the MACD direction and will go down.

However, the problem is you never know when the price will start following the MACD direction. So, if you rush and take a short position right when you see MACD Divergence, it may keep on going up for several more candlesticks. You should go short when MACD Divergence is followed by a good sell signal by the candlesticks and/or a support breakout.

MACD Divergence can be seen at the end of uptrends. What does it mean? It means if you are a trend trader, you should not go long when a MACD Divergence forms because the market can collapse at any time.

The market changes the direction when a MACD Divergence is formed.

MACD Convergence

MACD Convergence is also a famous signal, but people trust MACD Divergence more because when the market collapses and goes down, it goes faster and stronger. Fear is stronger than greed and when markets go down, fear is the dominant emotion.

MACD Convergence forms when price goes down and forms lower highs or lower lows, but at the same time MACD bars go up and form higher highs or higher lows.

The rule says: price will finally change the direction and will follow MACD.

MACD Convergence can be seen at the end of downtrends. What does it mean? It means if you are a trend trader, you should not go short when you see that MACD Convergence is formed. It can bounce up at any time.

MACD Convergence

Although MACD is a strong indicator and patterns like Divergence and Convergence are also very strong, you should never trade without a reasonable stop loss or exit strategy, and you should never risk more than 2-3% in each position.

If you like to learn more about MACD, you can read these articles too:

Categorized as MACD

By The LuckScout Team

I don't believe in luck. I believe in sweat. The more you sweat, the luckier you get.

0 0 votes
Article Rating
Notify of
Oldest Most Voted
Inline Feedbacks
View all comments
2 years ago

Good technical analysis and write up.
By the way , what is best of all indicators ?
Just name one !!. We have to master in one is more then enough .

Emmanuel Enya
Emmanuel Enya
2 years ago

This is real value for people that are into forex trading

Emmanuel Enya
Emmanuel Enya
2 years ago

Forex trading is really technical, no jokes

2 years ago

Great write-up, thanks

Emmanuel Enya
Emmanuel Enya
Reply to  Nnaemeka
2 years ago

Forex trading is really technical, no jokes

Chin-Jung Chen
Chin-Jung Chen
2 years ago

about MACD teaching , this article is the most detailed I have read ,
thank you Luckscout Team’s hard work !
I used to use MACD line and Signal Line and their crossover but I seldom use MACD histograms

Chin-Jung Chen
Chin-Jung Chen
2 years ago

in the last 5 image , there is one word :
This position goes up only for one more candlestick and then goes down and triggers your stop loss:
my question :
how can we avoid this problem ?

2 years ago

Hi, very useful information

TANKI Lillane
TANKI Lillane
2 years ago

Hi, how do you install the colored MACD on a smart phone?

Would love your thoughts, please comment.x

New Report