Hallo GraHal,
Hallo robertogozzi,
Long time ago I have looked into the indicator.
You both have made a quite good job,
I have not seen the mistake in the code, many thanks for your correction.
I have made many experiments with ZigZag and in general I have to apply to Nicolas and Vonsai.
Nevertheless I am the meaning, that the indicator works quite good, perhaps the short timeframe of 2-4 has an influence.
I don’t know.
I would be happy if you test it a bit and post your experience.
Best Regards
Hasardeur