Improved divergence detection. (I found a few edge cases where my divergence algorithm couldn't detect some divergences for slow moving indicators like MACD because of malformed pivots. Though these divergences were real, their pivot couldn't be validated and so the divergence didn't appear. So I wrote a new pivot detection algorithm that can handle these specific unorthodox pivots.)