Forums › ProRealTime English forum › ProOrder support › Programming divergence of stochastic › Reply To: Programming divergence of stochastic
12/15/2016 at 9:41 AM
#18544
Please find attached the indicator code for stochastic divergences. The indicator spot divergences between price and the crossover of the stochastic with its own moving average signal line.
The stochastic values are only taken into account if they are above the overbought zone or below the oversold zone (you can modify these levels at will in the parameters).
This is the same code as the ones from the MACD or RSI divergences indicators already posted into the Library in other different format: