The MACD is not required to be present on the chart.
However, if a standard MACD is attached, the divergence lines will be drawn both on the chart and in the indicator window,
and the indicator will use the MACD settings.
The solid line shows the classic divergence, the dotted line displays the reverse divergence.
It is possible to change the line color (the ColorBull and ColorBear variables), and also set the message output mode,
when divergence occurs and to change the message language to English.
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/8665
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.