How I built my MACD trading strategy and settings
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
- What is the MACD indicator, and how can you use it?
- How to use MACD indicator in trading
- How I built my MACD trading strategy and settings
- MACD strategy example: EURUSD trade walkthrough
- Tips for using MACD effectively
- Is the MACD strategy right for you?
- Final thoughts on mastering MACD
- Frequently asked questions
Key takeaways
- 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.
- 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.
- 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.
- 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.
- 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.

Exness Trade app
Trade with confidence anytime, anywhere.
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.
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:
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.
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:
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.

Make smarter trading decisions
Use expert analysis and tools on demo accounts or a live account.
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.