cookie

This site uses cookies to provide you with a great user experience. By visiting monetamarkets.com, you accept our cookie policy.

Allow all
top icon

Important Information

Visitors in the United Kingdom
This website is operated by companies within the Moneta Markets group that are licensed or registered outside the United Kingdom. None of them is authorised or regulated by the UK Financial Conduct Authority (FCA).

UK residents
This website is intended for visitors outside the United Kingdom and is not intended to promote or offer services to UK residents through the overseas Moneta Markets group entities.

UK residents wishing to access Moneta Markets services should visit the dedicated UK website operated by Moneta Markets Capital Ltd, a separate FCA-authorised group company, which provides services to Professional Clients only.

By continuing to the global website, you acknowledge that it is intended for persons outside the United Kingdom and that you are accessing it in that capacity.

Moneta Markets

Please note that Moneta Markets operates this website and its services are not directed at residents of your jurisdiction.

The information on this site is not intended for distribution to, or use by, any person in any country or jurisdiction where such distribution or use would be contrary to local law or regulation.

If you have arrived here in error, we kindly advise you to exit the site.

Continue to Site
Moneta Markets
BBack Back to Blog Home

MACD Indicator: Complete Trading Guide

October 13, 2026 | monetaeditor

MACD Indicator

Moving Average Convergence Divergence (MACD) is a momentum oscillator and trend-following indicator. It reflects the relationship between two exponential moving averages (EMAs) of the price in real-time.

It is one of the most popular and efficient technical analysis indicators used in Forex, stocks, and crypto trading.

The indicator looks somewhat similar to oscillators like Stochastic and the Relative Strength Index (RSI), helping traders assess the strength of a trend. However, the MACD is more universal than the other two as it also acts as a trend-following indicator, i.e., it helps traders accurately define the direction of a trend.  

This article will show you how MACD is built under the hood, how to read its three main signals, how to set it up correctly, and how to use it in strategies.

How the MACD Is Built

In essence, the indicator is calculated by subtracting the 26-period exponential moving average (EMA) from the 12-period EMA. What we get is the so-called MACD line.

There is a second line as well, which we call the signal line. It represents a 9-period EMA of the MACD line itself, which is then plotted alongside it. It acts as a trigger to enter long or short positions.

Besides the two lines, there is also a histogram, which measures the difference between the MACD line and the signal line.

Again, to avoid confusion, the two lines displayed by the indicator are not the two EMAs used in the MACD calculation.  On MetaTrader 4 and other platforms, you will see these three elements on the chart:

  • The MACD line, which measures the distance between the two EMAs as discussed above;
  • The signal line, which is alongside the MACD line and acts as a trigger;
  • The histogram measures the difference between the MACD line and the signal line.

The fact that MACD depends on moving averages makes it a lagging indicator, i.e., it reacts to price changes rather than forecasting the next move.

Traders check whether the MACD is positive or negative, which means the market is bullish or bearish, respectively.

The 3 Main MACD Signals

The MACD is a bit more complex compared to other popular technical indicators, such as moving averages or the RSI. However, it pays off, as it provides three main signals:

[H3] MACD Crossover

The most powerful signal occurs when the MACD line crosses the signal line in either direction.

When the MACD crosses the signal line from bottom to top, traders interpret it as a bullish signal and open long positions. Conversely, when the MACD line turns south, crosses below the signal line, and consolidates beneath it, traders either open short positions or close their existing long positions.

However, to avoid a false MACD buy signal or sell signal, you can also watch the histogram, which should begin increasing or decreasing in line with the new trend.

MACD Divergence

Besides the line crossovers, the MACD indicator is also used to detect divergences between the price action and the MACD chart. For instance, if a currency pair or another asset forms a higher high while the MACD line forms a lower high, we get a bearish divergence.

This scenario suggests that the bullish trend is weakening, and it’s time to get ready for a trend reversal. Usually, when this kind of divergence shows up, many traders look for opportunities to open short positions.

Conversely, if the MACD line forms a higher low at the same time when the price forms a lower low, we get a bullish divergence, suggesting that the bearish trend is losing momentum and may be about to reverse.

MACD divergence signals are stronger on larger timeframes, such as H4 or D1. For more reliable signals, combine MACD divergences with price action confirmation, such as an engulfing pattern or a pin bar.

Zero-Line Cross

Another important MACD signal is when the MACD line crosses the zero line. When the MACD line moves above zero, traders generally interpret it as a bullish signal. Conversely, when it falls below zero, it suggests that the market has turned bearish.

It’s worth noting that zero-line crosses are typically slower than MACD crossovers because they require stronger price momentum. Nevertheless, they tend to be more reliable for trend-following strategies.

Some traders use them as a MACD trend filter. For example, they may go long only if the MACD line is above zero, and vice versa.

Recommended MACD Settings

As mentioned, if you use the default settings, the MACD line subtracts the EMA 26 from the EMA 12, while its 9-period EMA is used for the signal line. Still, the periods can be adjusted based on the needs of the indicator’s settings.

For example, some traders may look for faster signals when scalping. In such cases, they replace the 12-26-9 setting with 5-13-1 or 3-10-16. The downside is that these can also generate more false signals.

For smoother trend-following on higher timeframes, such as D1 or W1, settings like 19-39-9 or 21-55-13 may be more suitable because they react more slowly.

Beginners are recommended to stick with the default settings for at least two to three months of active trading before making adjustments. No matter what settings you choose, take your time to backtest them on at least 200 historical bars before using them in live trading.

A Complete MACD Trading Strategy

Let’s see how MACD works as part of a trading plan, because it shouldn’t be used on its own. Here is a basic six-step strategy that mixes trend-following and momentum.

  1. Identify the trend on the D1 chart. To begin with, start by checking the D1 chart and use the MACD zero-line cross as a trend filter. As explained earlier, if MACD is above zero, be ready to go long. If it’s below zero, focus on short trades.
  2. Move to the H1 or H4 timeframe. Wait for a MACD crossover that aligns with the direction of the general trend observed on the D1 chart. So you should be interested in a bullish crossover when MACD is above zero, and vice versa.
  3. Look for price action confirmation. Before entering, it’s best to confirm the signal with a candlestick pattern that you are familiar with, e.g., a bullish or bearish engulfing candle or a pin bar.
  4. Enter the trade. After the confirmation candle closes, open your trade at the start of the next candle.
  5. Stop-Loss. To reduce potential losses, place your stop-loss below the latest swing low for long trades or above the latest swing high for short trades.
  6. Take-Profit. You can set your take-profit at a 1:2 risk-to-reward ratio.

MACD is a good indicator, but none of them is perfect. You should stick to your trading plan and manage risk consistently instead of constantly tweaking the MACD settings.

Common MACD Mistakes

Traders who encounter many false signals may use MACD incorrectly. Here are six common MACD pitfalls that you should avoid:

  1. Taking every crossover. A MACD crossover doesn’t guarantee that the price will behave accordingly. Without a higher-timeframe trend filter, the indicator can generate false signals, especially in sideways markets.
  2. Tweaking the settings. Many traders constantly adjust the MACD setting in search of the perfect tune. However, leaving the default parameters and learning to use them consistently can produce better results.
  3. Ignoring the divergence timeframe. Divergences can be reliable signals, but not on all timeframes! In fact, most of the time, they are just market noise on very low timeframes, such as M1 or M5.
  4. Using the MACD without price action. The indicator shows hints of market behavior, but you should always look for confirmation from support and resistance levels or candlestick patterns.
  5. Entering too early. Wait for the signal candle to close before opening a trade. Entering while the candle is still forming can lead to false entries.
  6. Trading without a stop-loss. Don’t ignore stop orders, which are the most powerful risk management tools. You should not keep a losing position open just because the MACD hasn’t reversed yet.

Frequently Asked Questions

What is the MACD indicator used for?

MACD is a complex indicator that is used for three things: spotting momentum changes via its crossovers, confirming the strength of a trend via its zero-line position, and detecting overbought and oversold levels through divergence signals. The great thing about it is that it works well in any market, be it Forex, stocks, indices, or crypto.

Which is better – MACD or RSI?

Both of them are great, but they measure different things. MACD follows the trend and tracks momentum via moving averages. On the other side, the RSI measures overbought and oversold levels via price changes. Many traders use both: MACD for trend direction, and RSI for timing entries within that trend.

Is MACD a leading or lagging indicator?

Given that it relies on moving averages, it is a lagging indicator. That means it reacts after moves begin, so it never predicts in advance. Divergence is the one MACD signal that hints at a trend reversal in advance. Always combine MACD with price action for timing.

What timeframe is best for MACD?

H4 and D1 give the cleanest MACD signals, especially on default settings. If you use it for M15 charts and below, be ready for many false signals due to noise. Scalpers should use faster settings (5-13-1) if they insist on using MACD.

Does MACD work on crypto markets?

Yes, MACD is a universal indicator, and it works well on Bitcoin (BTC), Ethereum (ETH), and major cryptocurrencies, especially as crypto charts produce clean momentum swings. It’s not suitable for low-liquidity altcoins or for low-volume weekend trading. It’s recommended to pair MACD with volume confirmation on crypto breakouts.

Can I use MACD on a demo account?

Yes, trading platforms like MT4, MT5 and Pro Trader all include MACD as a default indicator, and it’s available on both demo and live accounts. A free demo account with $100,000 in virtual funds is the right place to backtest any MACD strategy for 40-60 trades before investing real money.

You might also like

Arrow
Arrow
MACD Indicator: Complete Trading Guide

Start Trading in 3 Simple Steps

1
REGISTER

Open a live account and start trading in just minutes.

2
FUND

Fund your account using a wide range of funding methods.

3
TRADE

Access 1000+ instruments across all asset classes

open chat