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
Really helps in tradingOpening Positions
Attempt to more or less fully automate the opening of Buy and Sell orders
Example of plotting a function spectrum using the FFT libraryRSI prognoz
The indicator predicts (at least tries to) the RSI on a specified number of bars using the cluster analysis