Moving Average Convergence/Divergence Indicator Blau_MACD - MetaTrader 5 Script - MT4/MT5 Resources

Author: Andrei N. Bolkonsky
The book describes William Blau's Moving Average Convergence/Divergence Indicator Momentum, Direction, and Divergence: Applying the Latest Momentum Indicators to Technical Analysis."
The Moving Average Convergence Divergence (MACD) technical indicator is the exponential moving average of the difference (EMA) between two indicators (the fast EMA has a period of s, the slow EMA has a period of r).
The MACD indicator represents the relative position of the fast s-period EMA and the slow r-period EMA. It is positive when EMA(s)>EMA(r), when EMA(s)

William Blau's Moving Average Convergence/Divergence.
Moving average convergence/divergence is calculated by the following formula:
MACD(price,r,s) = EMA(price,s) - EMA(price,r)
s < r
William Blau's MACD formula is as follows:
MACD(price,r,s,u) = EMA( macd(price,r,s) ,u) = EMA(EMA(price,s)-EMA(price,r) ,u)
s < r
Attachment download
📎 blau_macd.mq5 (6.56 KB)
📎 williamblau.mqh (4.52 KB)
Source: MQL5 #375
Moving Average Convergence/Divergence Indicator Blau_MACD - MetaTrader 5 script usage and screening recommendations
Moving Average Convergence/Divergence Indicator Blau_MACD - MetaTrader 5 script is a resource related to Forex indicators. Before downloading or referencing, it is recommended to confirm the platform version, transaction type, time period, whether DLL is required, whether source code is included, parameter description and historical update records.
Both automated trading tools and foreign exchange indicators should first undergo backtesting, simulated account observation, and small capital verification. Pay special attention to spreads, slippages, maximum drawdowns, position opening frequency, stop loss methods, trading periods and broker rules, and avoid direct real-time execution based only on titles or short-term profit descriptions.
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •