João Nunes @ neskk.com - 2015
Traditional MACD indicator with a Momentum indicator and alarms. Allows customization of most of the parameters without having to dive into code.
This is my MACD indicator, it has well structured code so even beginners can understand it and perhaps modify it. I've grabbed the Momentum idea from another indicator: https://www.mql5.com/en/code/11511.
I wanted a traditional MACD indicator where:
The Momentum line is calculated by comparing two MACD values with 10 bars in between. Then Momentum is passed into a Moving Average to make it smoother.
Since MACD 0-crossovers and Momentum reversals can be important signals for traders, I've incorporated two alarms, one for each of the signals mentioned.
I wanted to make this indicator user friendly and customizable, so I've included a lot of parameters:
The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.Average Directional Movement Index (ADX)
The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.