What Is the MACD?
The MACD (Moving Average Convergence Divergence) was developed by Gerald Appel in the late 1970s; Thomas Aspray added the histogram in 1986. The name describes what the indicator measures: how two moving averages come together (convergence) or move apart (divergence).
As a technical tool, the indicator combines elements of trend following with those of an oscillator. Traders use it to determine the primary trend direction and to spot short-term turning points. When the two averages move further apart, the move gains strength; when they approach each other again, momentum fades.
How Do You Calculate the MACD?
The calculation is based on two exponential averages whose difference forms the actual MACD line. A signal line smooths these values further over a shorter period, while the histogram represents the distance between both lines. Traders can thus see immediately whether momentum is increasing or whether the drive of an existing move is gradually waning.
The construction follows fixed rules:
- The MACD line is the difference between the 12-period and the 26-period exponential moving average.
- The signal line is a 9-period exponential moving average of the MACD line.
- The histogram shows the distance between the MACD line and the signal line; bars above zero mean that the MACD line is above the signal line.
- The zero line marks the point at which both averages are equal; if the MACD line is above it, the fast average is higher than the slow one.
- The setting 12, 26, 9 is the standard setting and the most widely used.
What Does the MACD Show About the Market?
The MACD shows the momentum of a trend. When the distance between the two averages grows, recent prices are pulling away, and the trend accelerates. When the distance shrinks, older prices are catching up: the move is losing strength, often even before the price itself turns.
Behind this is the fact that the exponential moving average (EMA) weights recent prices more heavily than older ones. When the MACD line is above zero, buyers have gained the upper hand in the recent past; when it is below, sellers have. A shrinking histogram shows that the leading side is weakening, even while it is still ahead.
What Signals and Variants Exist?
The MACD delivers three types of signals: the crossover with the signal line, the crossover with the zero line, and the swings of the histogram. In addition, there are two related variants that build on the same calculation: the APO and MACDFIX. The table at the end of the section summarizes all of them.
Crossover with the Signal Line
When the MACD line crosses above its signal line, short-term momentum turns positive; when it crosses below, negative. This crossover comes early and often. Below the zero line, an upward crossover can indicate the bottom of a downtrend or merely be a countermove; whether more comes of it is often only shown by the crossover of the zero line.
Crossover with the Zero Line
When the MACD line crosses the zero line, the fast average is once again above or below the slow one. This crossover comes later than the one with the signal line, but points more toward a change in trend direction than toward a brief countermove.
Histogram
The histogram shows the distance between the MACD line and the signal line. When the bars get shorter, momentum is waning, often several candles before the lines cross. Many traders therefore watch the histogram to spot a crossover early.
APO
The APO (Absolute Price Oscillator) is the difference between two moving averages, essentially the MACD line without a signal line; when it crosses the zero line, the fast average has crossed the slow one.
MACDFIX
MACDFIX refers to a variant of the MACD with fixed periods of 12 and 26; its crossovers are read the same way as with the MACD.
Divergences
Divergences between price and MACD appear on the signal page under their own names, such as “MACD Regular Bull Div”; they are explained on the page about divergences.
| Signal or Variant | What Happens | What It Shows | Strength | Weakness |
|---|---|---|---|---|
| Crossover with the signal line | MACD line crosses the signal line | Momentum turns | Comes early | Many false signals in sideways phases |
| Crossover with the zero line | MACD line crosses the zero line | The 12 EMA crosses the 26 EMA | Points more to a change of trend | Comes late |
| Histogram | Bars grow or shrink | Distance to the signal line | Shows waning momentum before the crossover | Fluctuates strongly on short timeframes |
| APO | Difference of two averages crosses zero | Fast average above or below the slow one | Simple, without a signal line | No early crossover with a signal line |
| MACDFIX | Crossovers as with the MACD | MACD with fixed periods of 12 and 26 | Read the same way as the MACD | Periods cannot be changed |
When Does a MACD Signal Confirm, and When Does It Fail?
A signal confirms when price action follows the crossover with visible momentum and the histogram underpins the new direction through growing bars. If the setup fails, the MACD line turns around again quickly, and the market breaks out opposite to the impulse to a new relative price extreme.
A mere crossover does not guarantee a lasting trend. In sideways markets, false signals frequently occur where the lines intertwine several times without the price breaking out.
The false-signal chart illustrates this sequence: in a downtrend, the MACD line briefly crosses above its signal line, yet the recovery collapses immediately. A few candles later, the MACD line falls back below the signal line. Anyone who entered here recognizes the failure at the renewed intersection and limits losses consistently.
Example of Entry, Stop, and Target
A solid trade requires clearly defined levels for entry, stop-loss, and price target in advance. Following a bullish crossover below the zero line, entry typically takes place at the close of the signal candle. The stop is placed below the recent price low, while a prior swing high serves as a logical target for taking profits.
The diagram shows the sequence of a planned entry after a downward phase:
In the chart, the price falls after a swing high, and the MACD line slips below the zero line. After the low, it crosses its signal line (-1.677) upward at a value of -1.407 (“MACD Signal Cross Up”). The candle closes at 98.80, and a trader buys at the close. The stop goes just below the lowest low of the last five candles, at 94.50; the risk is 4.30 points. The target is the swing high at 106.40 where the decline began; the price reaches it after 12 candles, which is 7.60 points. This gives a risk-reward ratio of about 1:1.8.
How Do You Use the MACD Across Multiple Timeframes?
Analyzing multiple timeframes protects traders from trading short-term signals in isolation against the primary trend direction. If the higher timeframes confirm the direction of the signal, the alignment points more toward a continuation. If the intervals contradict each other, restraint is advisable to avoid false signals in trendless sideways phases.
If, for example, a bullish crossover of the signal line occurs on the 1h chart, traders should check whether the 4h and 8h charts support this rise. When the higher timeframe shows an intact uptrend, the signal on the smaller timeframe serves as a timing tool for an entry. If the higher-level market is running downward instead, it is usually only a fleeting countermove.
FinScans shows the trend across the eight timeframes on the signal page and in the cockpit.
How Do News and Scheduled Events Affect the MACD?
Economic news and central bank decisions often trigger sudden price jumps that can temporarily override purely mathematical indicators. Ahead of major interest rate decisions or economic data releases, momentum frequently flattens out, while the subsequent release can lead to extreme false swings that require a disciplined approach.
A technical signal immediately prior to important scheduled events carries risks of slippage and sudden changes of direction. The economic calendar helps you spot such market-moving events in time.
Those who also follow the news situation in the cockpit align technical triggers with the fundamental environment. At particularly important scheduled events, many traders wait out the initial impulse and only enter once the market has stabilized.
How Do You Use the MACD in the Four Trading Styles?
The choice of trading style determines how strongly market noise shapes interpretation and how long positions are held on average. From fast trading on small timeframes to long-term positioning, each style demands a tailored approach to the indicator lines as well as clear rules for limiting losses.
MACD in Scalping
In scalping on the 15m and 30m charts, the two MACD lines cross very often, and many of these crossovers are mere noise. On these short timeframes, the swings alternate in rapid succession, which is why acting unfiltered on every change of the two MACD lines quickly leads to losing trades. For higher-level orientation, scalpers consult the 1h or 2h chart. Only when the direction on the higher interval matches the short-term momentum is a position opened. Because trades often run for only a few minutes to a few hours, entry and loss limitation must be chosen very tightly. Spread and slippage can consume a noticeable share of the return given the high trading frequency. Scalpers therefore focus on highly liquid market phases during the overlap of the European and American trading sessions. Positions are closed strictly before the end of the session so that no overnight risk arises. This demands high concentration at the screen; it helps to trade only crossovers that point in the same direction as the histogram on the higher timeframe.
MACD in Day Trading
In day trading on the 1h and 2h charts, a crossover with the signal line often shows that momentum is turning within the day, and positions are closed before the end of the trading day. Traders use the 4h or 8h chart to reliably determine the higher-level daily direction. Noise is noticeably lower than in scalping, which gives zero-line and signal-line crossovers greater significance. Entries usually take place after a pullback in the trend as soon as the histogram turns back in the trend direction. The stop-loss lies just outside the recent swings, while the price target is aligned with prior daily highs or lows. Because positions are never held overnight, unpredictable opening gaps on the following day are completely eliminated. Traders must watch the market attentively during the active session, yet can carry out their analyses in an orderly manner. Transaction costs are moderate relative to the average profit margin. The indicator helps identify exhaustion phases during the course of the day and take profits in time before the close of trading. Those who trade multiple sessions a day adjust their expectations to the respective trading volume of the time zones.
MACD in Swing Trading
In swing trading on the 4h and 8h charts, traders hold positions for days to a few weeks; here the MACD shows whether a trend lasting several days is gaining or losing momentum. The 12h or daily chart (1d) serves to determine the higher-level trend. On these timeframes, the indicator largely smooths out intraday price fluctuations. Crossovers with the signal line can indicate the start of a multi-day trend leg here. Traders enter when the indicator picks up again in the direction of the main trend after a correction. Stops are placed at a sufficient distance below prominent structural points to give normal market fluctuations room. Because positions are held over several days and weeks, traders must factor in overnight risk as well as possible weekend gaps in forex; cryptocurrencies are traded on weekends as well. The time required for monitoring the market remains manageable, as a few checks per day are sufficient. Here the indicator also serves as a tool for following trends by letting profits run as long as the histogram does not signal a marked weakening. Patient traders use partial exits to lock in paper profits when the trend shows initial signs of weakness.
MACD in Position Trading
In position trading on the 12h and 1d charts, trades last weeks to months; a zero-line crossover on the daily chart often marks a change in the major trend direction here. There is no timeframe higher than 1d in FinScans; the context therefore comes from the 1d chart over several months. Short-term market noise recedes completely into the background, and fundamental factors gain weight. When the MACD line crosses above the zero line, this points to a shift in the balance of power in favor of the buyers. Stops lie far away below long-term turning points, and price targets are oriented toward higher-level chart levels. Traders must be able to sit through phases of interim paper losses, as trends undergo considerable corrections over the course of months. Daily monitoring effort is low. The setup aims to capture major macroeconomic waves and consistently avoid premature exits caused by short-term disturbances.
| Style | Timeframe | Higher Timeframe | Holding Period | What to Watch |
|---|---|---|---|---|
| Scalping | 15m, 30m | 1h, 2h | Minutes to a few hours | Noise, spread |
| Day Trading | 1h, 2h | 4h, 8h | Intraday | Trading sessions, scheduled events |
| Swing | 4h, 8h | 12h, 1d | Days to a few weeks | Overnight risk |
| Position | 12h, 1d | 1d over several months | Weeks to months | Weekend gaps, macro data |
MACD or Moving Averages?
The MACD and the moving averages in the price chart are based on the same data, but show it differently. The averages show where the price stands relative to the trend and where support lies; the MACD shows how fast the averages are moving apart or coming together.
A zero-line crossover of the MACD corresponds to the crossover of the two moving averages of 12 and 26 periods in the price chart; the MACD shows it in a separate window and also makes the distance between the two lines visible. Those looking for price levels for stop and target tend to use the averages in the chart; those who want to measure momentum tend to use the MACD.
| Feature | MACD | Moving Averages in the Price Chart |
|---|---|---|
| Display | Separate window below the chart | Lines directly in the price chart |
| Shows | Distance and momentum of the averages | Position of the price relative to the average |
| Early signal | Crossover with the signal line, histogram | Price crosses a short average |
| Change of trend | Crossover with the zero line | Crossover of two averages |
| Stop and target | No price levels | Averages act as support or resistance |
Common Mistakes When Trading with the MACD
Common mistakes arise from uncritically using every line crossover as an immediate entry signal or hastily disregarding the prevailing trend context. Neglecting important horizontal zones in the chart and exaggerated profit expectations on very short time intervals also lead to avoidable losses for many beginners.
- Trading every crossover without reflection: In sideways markets, the lines constantly cross back and forth without a genuine price move following.
- Ignoring the higher-level trend: A bullish signal on a small timeframe frequently fails when the market is falling strongly on a daily basis.
- Overlooking the zero line: A signal-line crossover far below the zero line is often only a countermove, not a complete change of trend.
- Viewing divergences in isolation: Divergences announce a slowdown, but do not necessarily lead to a reversal in strong trend phases.
- Lack of risk management: Anyone trading without a clear stop-loss risks heavy losses on false signals when momentum turns abruptly.
How MACD Triggers Are Named in FinScans Signals
On the signal page, the MACD triggers appear in the trigger table, each with an arrow: ▲ means FinScans counts the trigger on the bullish side, ▼ on the bearish side. There are ten names:
- “MACD Signal Cross Up” (▲): The MACD line crosses above its signal line.
- “MACD Signal Cross Down” (▼): The MACD line crosses below its signal line.
- “MACD Zero Cross Up” (▲): The MACD line crosses above the zero line.
- “MACD Zero Cross Down” (▼): The MACD line crosses below the zero line.
- “MACDFIX Signal Cross Up” (▲): In the MACDFIX variant, the MACD line crosses above its signal line.
- “MACDFIX Signal Cross Down” (▼): In the MACDFIX variant, the MACD line crosses below its signal line.
- “MACDFIX Zero Cross Up” (▲): In the MACDFIX variant, the MACD line crosses above the zero line.
- “MACDFIX Zero Cross Down” (▼): In the MACDFIX variant, the MACD line crosses below the zero line.
- “APO Zero Cross Up” (▲): The APO crosses above the zero line; the fast average thus rises above the slow one.
- “APO Zero Cross Down” (▼): The APO crosses below the zero line; the fast average thus falls below the slow one.
The signal page shows no class for indicators. A MACD trigger rarely stands alone: FinScans combines it with the other triggers of the same signal into an overall direction. Whether it runs with or against the larger move is shown by the trend across the eight timeframes and the overall assessment.
The following block shows current data on the MACD triggers. The hit rate should always be read relative to the average: if it is above, the trigger has a statistical edge; if it is below, it is better used as a hint than as the sole reason to enter. The rates can vary considerably by trading style, because there is more noise on short timeframes. The distances to target and stop also play a role: a tight stop is hit more often than a wide one, a distant target less often than a near one.
What the Machine Reports, What You Check Yourself
The machine handles monitoring the forex and crypto pairs across eight timeframes and reports the MACD triggers. Evaluating the individual setup, however, remains the responsibility of the trader. This interplay of machine preparation and human experience is called hybrid trading.
- The machine reports the crossover of the lines; you check whether prominent support and resistance levels in the chart reasonably limit the price target.
- The machine shows the trend across eight timeframes; you check the economic calendar to see whether upcoming scheduled events could trigger incalculable volatility.
- The data block provides the hit rate so far; you calculate the appropriate position size according to the principles of sound risk management.
- The machine reports a momentum shift in the histogram; you judge whether the candlestick pattern at the signal candle underpins the assumed direction.
- The machine shows price action candle by candle; you stick strictly to the exit plan and close the position with discipline at the target or stop.
Frequently asked questions
What Settings Are Common for the MACD?
The most widely used setting is 12, 26, 9: a 12-period and a 26-period exponential average for the MACD line and a 9-period average of the MACD line as the signal line. Shorter values react faster but produce more false signals; longer values smooth more and report turning points later.
What Is the Difference Between a Signal-Line and a Zero-Line Crossover?
The crossover with the signal line shows that momentum is turning; it comes earlier and more often. The crossover with the zero line shows that the fast average has crossed the slow one; it points more to a change of trend, but comes later.
Is the MACD Suitable for All Asset Classes?
The indicator can be applied to all markets with continuous prices, such as stocks, indices, forex, and cryptocurrencies. It calculates using closing prices only; in thinly traded markets, however, price gaps and outliers distort the averages and thus the MACD as well.
How Does the MACD Differ from the RSI?
While the MACD, as a trend-following oscillator, represents the distance between two moving averages, the RSI measures the ratio of upward to downward movements on a fixed scale from 0 to 100. Both complement each other: the MACD shows direction and momentum, the RSI whether a market is overbought or oversold.
Sources
- Appel, Gerald: Technical Analysis: Power Tools for Active Investors, FT Prentice Hall, 2005.
- Murphy, John J.: Technical Analysis of the Financial Markets, New York Institute of Finance, 1999.