I present to you an indicator capable of determining the divergence and convergence points for any indicator you choose. It will also determine Pivot points.
All you need to do is add the indicator to your favorites and call it. Next, you need a second indicator for which you want to find divergences or pivots. Next you need choise 'Oscillator Source' section in my indicator, after that you need to choose the name of the indicator for which you want to find divergences . - Done!
Thanks to the developers of TradingView for posting the source code of the "Divergence Indicator" indicator.