How I built my MACD trading strategy and settings

Exness trading specialist

Share:
Hero image.Exness Insights MACD trading strategy@3x.png

Traders need to know how to identify changes in momentum, direction, and strength. The MACD provides all of this information in one comprehensive tool, allowing you to trade with greater confidence.

Momentum and timing are crucial in trading. I quickly learned this when I entered a trade too early or too late, only to see the price reverse shortly after. It happened several times, but I got there in the end.

It’s frustrating. But it made me realise that I need to know not just where the market is, but how fast it’s moving and in which direction. The MACD became my go-to indicator for understanding the market's rhythm, and it eventually shaped the foundation of my MACD trading strategy—a simple yet effective approach to timing entries and exits.

Content

  1. What is the MACD indicator, and how can you use it?
  2. How to use MACD indicator in trading
  3. How I built my MACD trading strategy and settings
  4. MACD strategy example: EURUSD trade walkthrough
  5. Tips for using MACD effectively
  6. Is the MACD strategy right for you?
  7. Final thoughts on mastering MACD
  8. Frequently asked questions

Key takeaways

  1. The MACD indicator helps measure market momentum and trend direction in one tool. By analyzing the relationship between exponential moving averages, the Moving Average Convergence Divergence (MACD) indicator allows traders to better time entry and exit points in changing financial markets.
  2. The MACD line crosses and signal line crossovers form the core of a reliable MACD trading strategy. When the MACD line crosses above or below the signal line—especially near the zero line—it can highlight bullish or bearish momentum shifts and potential buy or sell signals.
  3. The MACD histogram provides early clues about strengthening or weakening momentum. Expanding or shrinking histogram bars help traders assess whether price movement is gaining strength or fading, often hinting at potential trend reversals before they appear clearly on the price chart.
  4. MACD divergence is a powerful way to spot potential reversals ahead of price action. Bullish divergence or bearish divergence occurs when the price and the MACD indicator disagree, helping traders identify weakening trends and avoid false signals.
  5. Optimising MACD settings based on trading style improves consistency and confidence. Using default MACD settings for swing trading or faster settings for intraday trading—and testing them on a demo account—helps tailor the MACD strategy to individual trading styles and market volatility.
ins-cta-trade-app.png

Exness Trade app

Trade with confidence anytime, anywhere.

Download now

What is the MACD indicator, and how can you use it?

Let’s start with the basics of how to use the MACD indicator effectively. MACD is an oscillator, but it’s often called a trend indicator because it’s based on two moving average indicators applied directly on the chart. 

EURUSD 4-hour chart with a MACD indicator below, showing a bearish crossover where the MACD line (blue) has crossed below the signal line (orange) and the histogram is negative.
Here’s an example of what it looks like in a EURUSD 4-hour chart. The MACD line (blue) is moving above and below the zero line, while the signal line (orange) is tracking the MACD line’s average.

Specifically, it measures the difference between a faster-moving average and a slower-moving average—usually the 12-period EMA minus the 26-period EMA. The result is plotted as the MACD line, as referenced above, and a signal line—typically a 9-period of the MACD line—which is overlaid to highlight potential buy or sell entry points. 

When the MACD line crosses above the signal line, it can indicate bullish momentum, and when it crosses below, it can indicate bearish momentum. 

You’ll also see in the chart I used that there are green and red blocks, which sometimes switch from right-side up to upside down, and change in length. These are the MACD histogram, which visualises the difference between the MACD line and the signal line. 

Green bars pointing upwards indicate that the MACD line is above, with taller bars showing stronger momentum, while red bars pointing downward indicate that the MACD line is below, with taller bars showing stronger downward momentum.

Quick Insight Box

The MACD formula = 12-period EMA - 26-period EMA. The signal line is a 9-period EMA of the MACD line.

How to use MACD indicator in trading

I said I’d give you the MACD “basics”, but even the basics can look fairly complicated. All you need to know is that the MACD is primarily used to measure momentum and the strength of a trend, and like that, we’re back to being simple!

It does this by comparing a fast-moving average to a slower-moving average, which creates the MACD line. By monitoring the crossovers and changes in the signal line, you can effectively identify both new trends, including those that weaken and strengthen. 

What are MACD entry and exit points?

In terms of practical application, it’s all about following the MACD line and waiting for it to move above or below the signal line. 

The zero line acts as a reference for momentum direction—if it crosses above, that confirms that bullish momentum is dominant, whereas if it crosses below, that confirms the opposite (combining signal line crossovers with zero-line position will give you a stronger confirmation of the trend direction). For example:

EURUSD 4-hour chart displaying a bearish MACD crossover, with the histogram turning red and negative as the MACD line falls below its signal line, showing a loss of upward momentum.
On 9 September at 12:00, the MACD line crosses below the signal line. This is a bearish crossover, suggesting that bullish momentum is fading. It’s still above the zero line, which means momentum is still technically positive, but the strength of the upward move is weakening, and the green histogram bars are turning red. This visualises the difference between the MACD line and the signal line.

What does MACD divergence tell you?

You should also be aware of MACD divergence, which occurs when the price action and the MACD indicator begin to disagree, providing traders with an early warning that the current trend may be reversing. 

Bullish divergence happens when the price makes a lower low, but the MACD makes a higher low, and bearish divergence is when the price makes a higher high, but the MACD makes a lower low.

In each case, these signs give you a definitive idea of the momentum and whether it’s weakening, even if the price is still moving in the direction of the trend. 

EURUSD 4-hour chart featuring a MACD indicator in the lower pane, illustrating a recent bearish crossover (MACD line below signal line) and a negative histogram, aligning with a price pullback.
On 11 September at 20:00, you can see the price at 1.73, while the MACD line is at 0.0003.
EURUSD 4-hour chart with a MACD indicator, highlighting a bearish crossover around 12 September where the MACD line (blue) crossed under the signal line (orange).
On 12 September at 00:00, the price dropped to 1.72. Meanwhile, the MACD line rises from 0.0003 to 0.0004, creating a bullish divergence. Notice how the histogram bars shrink as the MACD line rises, indicating that downward momentum is weakening. Indeed, over the next few hours, the price and MACD line rose dramatically, demonstrating how bullish divergence can act as an early indicator of a trend reversal.

How I built my MACD trading strategy and settings

When I first started using MACD, I began with the standard MACD settings: of 12, 26, and 9 – that is, a 12-period EMA, a 26-period EMA, and a 9-period signal line. These are the standard settings widely used by most traders, but once I got the hang of them, I began adapting the settings to suit my own trading style and timeframe. 

Recommended settings for day traders vs swing traders

As a day trader, I experimented with shorter settings of 6, 19, and 9 to make the MACD more responsive to quick price movements. So far, this approach has been effective in capturing short-term momentum shifts and identifying quick entry and exit opportunities during the trading day. The key is to remain flexible and incorporate this into the foundation of your MACD trading strategy.

Whether you’re a day trader, a swing trader, or a long-term trader, it’s possible to adjust the MACD settings to match your preferred timeframe and strategies, and so long as you start by using a demo account—allowing you to refine your settings without risking any real money—you can gradually find the configuration that works best for you. 

  • Day Traders: Shorter EMAs (e.g., 6, 19, and 3) for faster reactions.
  • Swing Traders: Default (12, 26, and 9) for a  balanced view.
  • Long-Term Investors: Longer EMAs (24, 52, and 18).

MACD strategy example: EURUSD trade walkthrough

Keep what we’ve just been through in your head while we’re looking at a step-by-step example of how to use MACD indicator effectively to confirm entry and exit points. 

I’ll use a 4-hour EURUSD chart with the standard 12, 26, 9 settings. I’m doing this in the Exness demo account, so although I’ll make the trade, I won’t be using any real money. The goal is to identify a trade where momentum shifts are clear, entry and exit points are defined, and the MACD provides confirmation alongside price action. 

  • Step one: Start by identifying a trend, observing the MACD line relative to the zero line. 
  • Step two: Look for the MACD line crossing the signal line—remember, a crossover above the signal line indicates a potential buy, while a crossover below hints at a potential sell. 
  • Step three: Check the histogram for strengthening and weakening momentum, then look for divergence between the price and the MACD line to identify potential reversals. 
  • Step four: Your entry point will be at a position where the MACD crossover aligns with the trend direction, confirmed by momentum and, if possible, divergence signals. 
  • Step five: Your exit point will be when the MACD line starts to reverse direction, and momentum is fading in the histogram.

Here’s an example of both the entry point and the exit point in this scenario:

EURUSD 4-hour chart showing a bullish MACD crossover around 12 August, where the MACD line (blue) crossed above the signal line (orange) and the histogram turned positive.
On 12 August at 16:00, you can clearly see the MACD line cross above the signal line, while the price is showing a gradual upward movement. This is the entry point.
EURUSD 4-hour chart with a MACD indicator illustrating a bullish phase, where the MACD line is above the signal line, and the histogram is positive, following a recent crossover.
On 14 August at 04:00, you can see the MACD line start to drop, and eventually cross below the signal line. The histogram is important here. Before the line is crossed and the price drops significantly, the bars are starting to shrink. Even though they haven’t yet changed from green to red, this indicates that bullish momentum is fading and bearish momentum is building—an early warning sign that the trend is indeed reversing, even before the MACD line fully crosses the signal line. This is the exit point.

Tips for using MACD effectively

That’s one example of how to use the MACD indicator effectively, but there are several other tips to bear in mind before you get going. Each one should be applied thoughtfully and tested before using it in live trading. 

Again, the key is observation. Even the most reliable hints can behave differently across markets and timeframes, so taking the time to understand how MACD reacts in various conditions will definitely help you trade more confidently. The tips provided here will give you the strongest foundation to do that, making entry and exit decisions that are not only timely but well-informed and strategically sound:  

  • Combine MACD with support/resistance or trendlines for confirmation.
  • Avoid relying solely on the MACD in choppy markets.
  • Pay attention to divergence as an early warning sign.
  • Use the histogram to visualise momentum strength
  • Backtest your strategy with different MACD settings with the Exness Demo Account Before Applying it live.

Is the MACD strategy right for you?

The MACD is a useful tool for many reasons, but perhaps its popularity stems from its versatility across various trading styles and markets.

For scalpers, faster settings help catch short bursts of momentum. For swing traders, the default MACD settings are reliable for medium-term trends. For long-term traders, MACD can confirm trend continuation when combined with broader analysis. 

The list of traders and strategies it can boost is extensive, demonstrating how it can be the right tool for you, regardless of your experience level or trading preferences.

Trading glossary

Signal line

The signal line is a smoothed exponential moving average of the MACD line, commonly set to nine periods. Traders watch for MACD line crosses above or below the signal line to identify bullish or bearish indications in a MACD trading strategy.

MACD histogram

The MACD histogram visually represents the difference between the MACD line and the signal line using histogram bars. Expanding bars suggest strengthening momentum, while shrinking bars can show weakening momentum or potential trend reversals.

MACD divergence

MACD divergence occurs when the price action on the chart contradicts the movement of the MACD indicator. Bullish divergence happens when the price makes lower lows, but the MACD forms higher lows, often indicating a potential bullish reversal.

ins-cta-indicators.png

Make smarter trading decisions

Use expert analysis and tools on demo accounts or a live account.

Try now

Final thoughts on mastering MACD

I can’t stress enough the importance of using the Exness demo account when testing various MACD settings and seeing firsthand how the indicator reacts to price movements. It’s there to take advantage of, so make sure you don’t jump headfirst into the deep end and focus on shaping a consistent MACD trading strategy.

It took me several attempts to find the settings and strategies that fit my trading style, and even now, I still refer back to the demo account when experimenting with new approaches. If I didn’t do that, I don’t even want to know how many losing trades I would have made! 

The MACD is a versatile, widely used indicator, and to take advantage of it, you need practice, discipline, and a safe space to become truly familiar with it as a tool.

Frequently asked questions

What is the success rate of MACD?

There is no fixed success rate for the MACD indicator, as its effectiveness depends on market conditions, timeframes, and how it’s combined with other technical indicators. Many traders find MACD trading more reliable when it’s used to measure market momentum, confirm trend direction, and filter false triggers rather than as a standalone system.

What is better, MACD or RSI?

MACD and RSI serve different purposes, so neither is universally better. The MACD indicator is a trend-following momentum indicator that helps identify trend strength and hints at potential trend reversals, while RSI is better at spotting overbought and oversold conditions. Many traders improve their trading decisions by combining MACD and RSI in their market analysis.

What does 12, 26, and 9 mean on MACD?

The numbers 12, 26, and 9 refer to the default MACD settings, which are based on exponential moving averages. The MACD line is calculated by subtracting the 26-period EMA from the 12-period EMA, while the signal line is a 9-period EMA of the MACD line used to identify signal line crossovers.

What is the best MACD setting?

There is no single best MACD setting, as the ideal configuration depends on your trading style and timeframes. Day traders often use faster settings to capture intraday momentum, while swing traders and long-term traders typically rely on the standard MACD settings (12, 26, and 9) for a balanced view of price movement and trend strength.

How to set MACD in MT5?

To set up the MACD indicator in MetaTrader 5( MT5), open a price chart, click Insert → Indicators → Oscillators → MACD, then adjust the fast EMA, slow EMA, and signal line values if needed. Once applied, the MACD chart will appear below the price chart, allowing you to analyse MACD line crosses, the zero line, and the histogram for entry and exit points.

Share:

Related


Trading Pro Q&A: What do you think is the worst indicator?

Trading Pro Q&A

Hero image.Exness Insights the worst trading indicator@3x.png

Stop loss placement and trade invalidation

Other strategies

Trading specialist Antreas Themistokleous discusses stop loss placement and trade invalidation for trading CFDs.

How to start scalping: Basics for beginners

Short-term strategies

Hero image.Exness Insights How to start scalping@3x.png

Choosing the best indicators for scalping

Short-term strategies

Hero image.Exness Insights best indicators for scalping@3x.png

Exness Trade app

Trade with confidence anytime, anywhere.

Ios
Ios
Android
Android
Android
AndroidApk
AndroidApk
AndroidApk
Screenshot 2024-06-17 at 09.51.20.jpg

Trading is risky. T&Cs apply.

More in Trading strategy


Hero image.Exness Insights Professional scalping strategy@3x.png

Advanced strategies

Advanced scalping strategies for professional traders
Hero image.Exness Insights position sizing@3x.png

Other strategies

Managing risk per trade with position sizing
Trading specialist Antreas Themistokleous discusses stop loss placement and trade invalidation for trading CFDs.

Other strategies

Stop loss placement and trade invalidation
Hero image.Exness Insights How to start scalping@3x.png

Short-term strategies

How to start scalping: Basics for beginners
exness-insights-cta-desktop.jpg

Trade with a trusted broker today

Start trading