Trading With The MACD

The MACD ( moving average convergence divergence ) indicator is a technical analysis tool that uses 2 exponential moving averages to:

  1. Give buy and sell signals
  2. Show bullish divergence/bearish divergence
  3. Helps determine trend direction

Some traders will also include the histogram, that will cross the zero line when the EMAs cross in either direction.

macd lines and histogram

MACD Settings

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)

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.

MACD Calculation

This leads us to how the MACD calculates its output:

  1. The 12 period EMA calculates a number for this period
  2. The 26 period EMA calculates a number for this period
  3. Subtraction of the 26 EMA result from the 12 EMA result
  4. A 9 period EMA is calculated from 26 EMA – 12 EMA

How does the 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.

What is the signal line?

Signal line is a 9 EMA of MACD line.  When the MACD line and signal line cross, it’s usually considered a trend reversal signals, especially when they happen away from the zero line.

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.

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.


What Does The MACD Measure?

The MACD line is faster than the signal line and is the result of the difference between the fast and slow EMAs.

Momentum Oscillator

When you see a signal line crossover of the faster MACD line over the signal line, we see a change in the direction of momentum.


There are traders that will use the shift in momentum as the direction they want to trade in.

Trend Direction

The signal line crossing the zero line is often used for trend direction .  Traders can use the momentum aspect as a sign of a pending trend change.  The zero line cross can be a confirmation of trend.

TREND DIRECTIONKnowing 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 and is my preferred approach.

What is the difference between bullish and bearish?

MACD crossing above zero is considered bullish, while crossing below zero is bearish.  This is also expanded to include bullish and bearish momentum when the lines cross regardless of which side of the zero line.


MACD Trading Strategy – Momentum Approach

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.

For this strategy, we are using the momentum feature of the MACD plus breaks of swing highs/low that also take place when an imbalance of buyers/sellers are present.


When we want to determine trend direction via the MACD for this strategy, we look where the MACD line is in relation to the signal line.

Strategy Details (Uptrend Example)

  1. Mark of current swing high and low points
  2. Price breaks swing high confirms uptrend is still in place
  3. EMA cross on the MACD shows momentum to the upside
  4. Use buy stop orders at high of candle that broke swing high/turned the indicator bullish via the crossing

Can we improve on this?

We can use multiple time frame trading by trading in the direction of the higher time frame momentum.

This is a one hour chart and the daily chart has bearish momentum.  We would only trade breakdowns through support with confirmation via MACD.

If price gaps through support, we would not take the trade.

The power of this approach is we have the bearish daily chart momentum at our backs when going short on the smaller time frame.

MACD Combinations

My favorite combination of trading indicators is the MACD + Keltner channels and price action.

  • 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
  • Keltner is set to 20 periods with a 2.25 multiplier


Price is making lower lows while piercing the lower Keltner channel.  This is showing an extended market (oversold conditions) and while traders love to counter trend trade, we need another event to happen.

What Is a Divergence?

Divergences form when the MACD heads in on direction while price heads in another.

In the black circle, we have price break lower, pierce the channel, and then we get a cross up.  This cross shows momentum to the upside while price is making a lower low.

We want to trade the reversal as this is our buy trading signal.

Entry can be a buy stop over the red candle, green candle, or a break of the small trading range.

Targets will be the middle channel line and the upper Keltner band.  Trend reversals can often start from this condition so having a trading plan that includes some type of trailing stop method may be worthwhile.

Trading With The MACD – Summary

With this indicator, we have a very useful technical analysis tool. It has quite a few uses and we covered:

  • How to determine the momentum trend using the 2 line cross
  • How to read momentum using the fast line
  • The benefits of multiple time frame analysis

As will all technical indicators, you want to test as part of an overall trading plan that includes:

  • Entry and exit criteria
  • Risk management
  • Markets and timeframes you will trade

What values are used with the MACD?

The values of 12, 26 and 9 are the typical settings used with the MACD. Other values can be substituted depending on your trading style and goals.

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.

Author: CoachShane
Shane his trading journey in 2005, became a Netpicks customer in 2008 needing structure in his trading approach. His focus is on the technical side of trading filtering in a macro overview and credits a handful of traders that have heavily influenced his relaxed approach to trading. Shane started day trading Forex but has since transitioned to a swing/position focus in most markets including commodities and futures. This has allowed less time in front of the computer without an adverse affect on returns.