MACD trading strategy
The MACD indicator [Moving Average Convergence / Divergence] – was constructed by analyst Gerard Appel in 1979. The indicator examines the convergence and divergence of moving averages. It is the difference between long-term value and short-term exponential average. It belongs to the group of oscillators.
There are many strategies based on this indicator, it has multiple uses not only on the forex market, it is also used in speculation on stock exchanges. It is often one of the components of the EA used in algotrading. The most common MACD settings are as follows:
– in the indicator window we have a histogram (bar graph) MACD where the dotted line is a signaling line, and medium periods are (12,26,9)
I use a slightly modified indicator in trading:
parameters (periods of averages) are respectively (12,26,1)
the color of the next “bar” of the histogram changes to red when MACD decreases and to blue when the indicator grows.
What does the MACD tell me?
The basic question we ask ourselves when trading on the forex market is – will a given financial instrument grow or will it fall …? and basically the answer to this question is all we need. MACD in some situations can help us find this answer.
Two ways I use this oscillator.
When the value of the indicator moves in the opposite direction to the price, we say that there was divergence. In the chart , it is very easy to notice. There are two divergences – bullish (upward) and bearish (downward).
In the first case, when the MACD begins to grow (point A), it heralds a change in the upward trend. In the second when the indicator starts to decrease (B) the trend changes to a downward trend.
Using the indicator in this way, we have a good chance to correctly predict whether the price will rise or fall in the near future. Of course, you should look for further confirmation in the price behavior, the probability of the event will increase if divergences occur at important levels of support or resistance and (or) are supported by some Price Action formation like Inside, Outside Bars, PinBars or H&S.
The example chart of NZDUSD Daily presents just such a situation, where the upward divergence is supported by the bullish formation of Price Action -Outside Bar (circled in red), the so-called Bullish Engulfing (the description of this formation can be found here). So we have a double confirmation that there may be a change in the trend. In this case, the move was significant because during the six sessions it gave nearly 300 pips.
Something for beginners …
Experienced traders will notice divergences on the charts without any problem, however, for the less-experienced ones, the following picture showing in a schematic way all the common types of divergence between the price graph and the MACD histogram can be useful.
1 and 2 – “bullish divergences” heralding increases, 3.4 – divergences “bears” announcing declines
II. Maximum and minimum – a signal to change the trend ?
And how to use the MACD, when there is no divergence and do not promise to be in the near future, and the answer to the question down or up very desirable …? Also here MACD can show us the direction, but in this case we will focus on its “highs” and “lows”. The easiest way to show it is in the following example:
Observing the chart USDJPY H4 we can see a certain regularity. When the MACD reaches the minimum (1) as evidenced by the change of color from red to blue visible in the histogram, the next candle after that which caused the change in the color of the indicator is also bullish as well as few next. The declines begin only when the MACD has reached the maximum (2) as evidenced by the change of the histogram bar to red. Situation with price and MACD is similar in 3,4,5
As I mentioned earlier, if such a maximum or minimum occurs when the price reaches an important level – the probability of a change in the direction in which the price will go, increases significantly, and the move may have a large range. In the case of (1) and (2) we have confirmation of the Price Action – Inside Bar formations, and in the case of (4) and (5) Outside Bar and increases or decreases after breaking out from them. From my experience this way of determining the trend change (these are usually local, short-term changes) gives the best results at higher time intervals – H4 and D1.
Example of strategy based on PA + MACD:
We search on a chart (H4, D1) of any currency pair or other financial instrument situation where the MACD changed direction -for example – began to decrease, the first red bar appeared on the histogram, ie the maximum was created.
If the Formation Inside (IB) or Outside Bar (OB) appears, the probability of changing the trend becomes large
We calculate the size of SL, which should be above the “mother” candle, i.e. forming IB or OB. If it is acceptable to us and the nearest support level is so far away that the