DAY 10: MACD – Check trend and momentum simultaneously
In DAY 9, we learned about “oscillator-type indicators” such as RSI and Stochastics.
Today, we will introduce the popular indicator that combinestrend analysisandoscillator analysis— MACD (Moving Average Convergence Divergence).
MACD is a powerful tool that can be used in multiple ways, from grasping the direction of a trend to timing decisions and even predicting reversals via divergence detection. Let’s dive into how it works and how to use it!
1. Basic Structure of MACD
(1) MACD Line & Signal Line
- MACD Line
- A line calculated using two moving averages (generally a short-term EMA and a long-term EMA).
- If the short-term EMA is above the long-term EMA, the MACD is positive; if it is below, it is negative, indicating the strength of the trend.
- Signal Line
- A line smoothed further by applying a moving average to the MACD Line.
- A cross where the MACD Line crosses above (or below) the Signal Line tends to be a reliable buy/sell signal.
(2) Histogram Display (MACD Histogram)
- Some charts display the difference between the MACD Line and the Signal Line as a bar chart (histogram).
- If the histogram is in positive territory, the MACD Line is above the Signal Line; if in negative territory, it is below.
- The expansion or contraction of the histogram makes it easy to see momentum whether it is accelerating or slowing down.
2. Common Uses
(1) Crosses of the MACD Line and Signal Line
- Buy signal: When the MACD Line crosses above the Signal Line from below (similar to a golden cross).
- Sell signal: When the MACD Line crosses below the Signal Line from above.
Notes:
- A simple rule like “crossed = enter immediately” often leads to false signals.
- Also consider price action around recent highs/lows and use other indicators to confirm.
(2) Break of the Zero Line (Baseline)
- If the MACD Line breaks above the zero line,the uptrend may be accelerating.
- If it breaks below the zero line,the downtrend may be accelerating.
- Especially when the histogram expands rapidly near the zero line, that is a sign of increasing momentum.
(3) Divergence
- An example where prices make a new high (or new low) but the MACD fails to, signaling a potential reversal.
- MACD divergenceis a widely watched pre-signal of a trend reversal.
- However, divergence does not guarantee an immediate reversal, so timing is key.
3. Features of Trend and Oscillator in One
Since MACD is based on moving averages, it has strong elements of atrend indicator, but
- Crosses and divergence signals can be used for oscillator-like timing.
- It lets you check both trend direction and momentum strengthwith a single indicator, which is a big advantage.
4. Example Trading Scenarios
(1) Buy the dip in an uptrend
- MACD Line is above the zero line → in an uptrend
- During a temporary pullback (price decline), if the MACD Line dips below the Signal Line but then crosses back above, that is a “buy signal”
- Stop loss near the recent low or support, take profit when MACD or histogram momentum slows
(2) Look for Divergence in a Range-Bound Market
- If the price makes lower lows but the MACD makes higher lows, that suggests a bottoming signal
- If the moving average slope is flat, MACD divergence can be used for a short-term reversal
- Set stop loss when the divergence is invalidated (e.g., new lows)
(3) Use in Auto-Trading
- Many EAs enter and exit based solely on MACD crosses.
- However, markets can reverse after a cross, so it is common to add a filter(moving average slope, Bollinger Band position, etc.).
5. MACD Pros & Cons
Pros
- Combination of “trend-focused” and “timing-focused” qualities
- One indicator provides a rough sense of trend and entry points.
- Simple calculation
- Based on moving averages, easy to understand and accessible for beginners.
- Divergence is visually intuitive
- The expanding/contracting histogram clearly shows momentum changes.
- The expanding/contracting histogram clearly shows momentum changes.
Cons
- Lagging
- Being based on moving averages, responses to sharp price moves can be one step late.
- Relying on crosses alone can produce many false signals
- Need to combine with price action and other indicators for a holistic judgment.
- Optimal parameters vary with the market
- Defaults are often 12, 26, 9, but you may need to tweak for currency pairs, timeframes, and market conditions.
- Defaults are often 12, 26, 9, but you may need to tweak for currency pairs, timeframes, and market conditions.
6. Summary & Next Lesson Preview
Summary
- MACDis a popular indicator based on moving averages that canidentify trend direction×and confirm entry/exit timing.
- Crosses, zero-line breaks, and divergencesprovide a variety of usable signals.
- To guard against lag and false signals,combine with other technical tools and price actionfor a more robust approach.
- MACD is also commonly used in automated trading (EA), but parameter settings and filter conditions often determine success or failure.
Next Time (DAY 11) Theme: Bollinger Bands – Visualizing Volatility
- After learning about trend and oscillator indicators, we’ll move on to the popular tool that visualizes volatility,Bollinger Bands.
- We’ll cover concepts like “squeeze” and “expansion,” as well as contrarian and trend-following strategies using around ±2σ.
- MACD and RSI, which you’ve learned so far, also pair well with Bollinger Bands, so let’s develop even more versatile analytical skills!
If you’re interested in automated trading, please check out the link below as well.
https://www.gogojungle.co.jp/users/147322/products
If this was helpful, please click “Continue” (続きを読む).
Thank you very much.
× ![]()