Last updated on February 19th, 2020
The MACD ( moving average convergence divergence ) indicator is a technical analysis tool that was designed by Gerald Appel in the late 1970s.
It is used as a trend direction indicator as well as a measure of the momentum in the market. Traders will also use it to confirm a trade when combined with other strategies as well as a means to enter a trading position.
The MACD default settings are: 12, 26, 9 which represents the values for:
- The lookback periods for the fast line (12)
- The lookback period for the slow line (26)
- Signal EMA (9)
These settings can be easily changed to another popular set of parameters, 8, 17, 9 where:
- The fast line is set to 8
- The slow line is set to 17
- The signal line remains at 9
As with any trading indicator, I always start with the input parameters that were set out by the developer and later determine if I will change the values.
This leads us to how the macd calculates its output:
- The 12 period EMA calculates a number for this period
- The 26 EMA calculates a number for this period
- Subtraction of the 26 EMA result from the 12 EMA result
- A 9 period EMA is calculated from 26 EMA – 12 EMA
MACD Settings For Intraday Trading
As with any indicator, you can change the input values depending on your needs.
Intraday traders may want a faster indicator to cut down on lag time due to their short term trading style. The search for the best settings for any indicator is a trap many of us have fallen into at least once in our trading.
The reason I always start with the default settings is that there are so many different combinations that can be used for any indicator. When you look at the MACD values, you have 3 that can be altered.
The question should always be “will it make a difference”.
You must test any changes you make to ensure it actually adds to your trading plan.
That said, one very popular combination of the MACD is 3, 10, 16 which is a variation of the 3/10 oscillator. I highly suggest that before you start crunching numbers and looking for short term macd settings for faster signals, you know exactly how the MACD works and determine if it will benefit your own trading.
MACD Line and Signal Line
The MACD line is faster than the signal line and is the result of the difference between the fast and slow-moving averages. Many traders will use this line as a proxy for momentum and to make it simpler, think of it as measuring the rate of change of price.
The signal line in the MACD is slower due to it’s setting and traders will often use that as a trend determination tool either using multiple time frames or simply one trading chart.
Knowing that we measure trend and momentum, you may already see how we can use the MACD to actually trade with when we use both the MACD line and the signal line to alert us to a possible change in the market we are trading. The 2 line cross can be a very powerful indicator of trading potential in the market.
What Is The Best MACD Indicator for MT4?
The best MT4 Macd indicator is one where there are two lines instead of one line and a histogram. You can download the traditional MACD for MT4 and MT5 from here.
Notice how using the traditional MACD for MT4/MT5, is much easier to use. You can toggle off the histogram as well.
MACD Trading Strategy
We have set up the indicator on our chart and are going to use the standard settings as previously discussed and learn how to read the macd.
When we want to determine trend direction via the MACD, we look where the MACD line is in relation to the signal line. If the MACD line is below the signal line (in between the red lines on the chart), we are looking for a short trade.
If we see where the MACD line is above the signal line (between the green lines), this would indicate a market in an uptrend and you would be bullish on any trading setup.
- If the MACD is above the 0 line, we can look to buy crosses of the 2 lines
- Once price is below the 0 line, we would look to sell the crossing of the fast and slow line
- Trade exits would be a crossing in the opposite direction of the two lines.
This is one reason that multiple time frame trading is suitable for this trading indicator. You’d simply look to short rallies during a MACD downtrend and buy pullbacks during an uptrend.
MACD Entry and Exit Signals
Some traders will use a macd signal line crossover to buy or sell the market.
You may want to consider other variables such as price structure, multiple time frame considerations and price action in conjunction with trading a simple cross.
Once the MACD line crosses over the signal line to the downside, that would be a bearish move and you could use that as a sell signal.
Conversely, if the MACD line crosses to the upside, you would be bullish and can use that as a buy signal.
MACD Zero Line Trading Strategy
Another way we can use this indicator is to take advantage of the zero line and the fast line as a means of trade entry. Again, keep in mind the lagging nature of all indicators with this trading method and highly consider using multiple time frames for your trading.
You can see the change in trend when during the moving average crossover so we know we are looking for short trades. Once the fast line crosses the zero line, this would be a trade entry.
You can see how mechanical this is but also gets you in very late in the move.
You will see an inset box on this graphic. That is the daily chart and the red line indicates where, after the weekly trend turns down, you would enter on the daily chart using the zero line cross method.
That black line is where you’d enter on the weekly chart two months later.
Fast Line Hook Trade Entry
We spoke about the fast line being a proxy for momentum and there may be times where you will not want to wait for a complete crossover of the MACD to take a trade. I want to draw your attention to the black round circle at the top of the chart.
Here we see a pin bar has formed after a run-up in price. Also, notice the separation in the MACD indicator as price approaches this region (in the same region of previous resistance not seen on this chart) showing decent momentum in this market.
We see the separation decreasing as price slows down and then explodes to the upside but closes on its open as seen on the pin bar. This is a bearish sign.
Bring your eyes to the fast line of the MACD and you can see it hook to the downside. Given the context of price action and structure, you could gain early entry into a possible reversal.
Depending on the context of the chart, you can use the fast line hook as a buy signal or a sell signal. These can be used to enter the market or as a profit-taking indicator.
Does it matter? This is a weekly chart and you would have enter 5-6 bar earlier and been up over 120 pips before the breakdown.
My favorite combination is the MACD + Keltner channels.
- Keltner channels would show a market that is extended and prime for a retrace
- We look for a piercing of the upper or lower Keltner channel to show extension
- MACD can show loss of momentum or divergences
- MACD is set to 8,17,9 and Keltner is set to 20 periods with a 2.25 multiplier
We have MACD showing higher lows while price makes lower lows and breaching the Keltner which shows an extended market
Currently, the price is making new momentum highs after breaching the upper Keltner band. This alerts us to a possible pullback trading situation.
Trading With The MACD – Summary
With the macd we have a very useful technical analysis tool. It has quite a few uses and we covered:
- How to determine the trend using the 2 line cross
- How to read momentum using the fast line
- Trade entry using a fast line hook
- Trade entry using a zero line cross
- The benefits of multiple time frame analysis
As will all technical indicators, you want to test as part of an overall trading plan.
Also, be aware of the lag time using this indicator although for some traders it will be an advantage as you are not picking tops and bottoms.
You may also want to experiment, as with any moving averages, consolidation plays when the 2 lines of the MACD converge. When this happens, price is usually in a range setting up a possible break out trade.
Test, backtest, and forward test and you may find the MACD a valuable part of your trading process.