I have attached the dummy indicator we can use to find cycles for now. Please try and find a stochastic and MACD etc divergence and show them to me to examine.

The idea is to get a programmer to put an arrow where the slope = 0 on the NonlagZigZag which implies a change of cycles. Then we will amend the Divergence indicators to find if there is divergence at the arrows of the indicator attached.

I hope this is clear.