The Divergences indicator is designed to search and display divergences by MACD and Stochastic.
This is a real version of the indicator.You can download the demo version here: https://www.mql5.com/en/market/product/42217
A special algorithm displays divergences of all possible sizes. From the
smallest to the largest.
Using the left and right arrows on the indicator panel, you can change the divergence size range.
You can also choose to display divergences only by MACD, only by Stochastic, or both by MACD and Stochastic.
The style of lines, the color of lines, the indicator text can also be changed in external parameters.
X_DISTANCE - indent in pixels from the left border of the terminal.
Y_DISTANCE - indent in pixels from the upper border of the terminal.
MACD_Show - display or not MACD divergence.
Stoch_Show - display or not Stochastic divergence.
CheckMin3 - check the third high or low to draw divergences.
CheckCross - check the reversal of the STochastic indicator during the formation of divergence.
Deviation, Backstep - parameter of the Zigzag indicator.
Price_Bar - drawing divergence at the current price (current) or at the last closed candle (close).
pogrMACD - infelicity of MACD indicator.
StepDepth - step size of the Zigzag indicator.
Fast_EMA, Slow_EMA, MACD_EMA, MACD_AppliedPrice - MACD indicator parameters.
Level_top, Level_X, Level_bottom, iStochasticKperiod, iStochasticDperiod, iStochasticSlowing, Stochastic_Method, Stochastic_Price_Field - Stochastic indicator parameters.
clr_MACDup - MACD upward divergence color.
clr_MACDdown - MACD downward divergence color.
clr_Stochup - Stochastic upward divergence color.
clr_Stochdown - Stochastic downward divergence color.
textcolor - text color.
style_Line - divergence line style.
depth_line - the thickness of the divergence line.