The MACD Sample EA is included in the standard pack of the MetaTrader 5 client terminal and is an example of the EA that trades using the MACD indicator.
The file of the MACD Sample.mq5 Expert Advisor is located in terminal_data_folder\MQL5\Experts\Examples\MACD\". This Expert Advisor is an example of object-oriented approach in EA development.
Author: MetaQuotes Software Corp.
Forum on trading, automated trading systems and testing trading strategies
Indicators: MACD Histogram, multi-color
newdigital, 2014.06.19 12:01
By comparing EMAs of different lengths the MACD can help to identify
subtle changes in the trend and momentum of a security. It is a great
visual representation of the acceleration or rate of change in a trend.
How to Calculate a MACD