I’ve been banging my head against my desk trying to make a non-repainting zigzag on tick by tick data without the inbuilt function. I couldn’t find the bug in my code so I went right down to see exactly what values are returned by barindex[] and close[]. I don’t know if this is a known issue but it seems that barindex[], close[] and the related functions are not updating correctly. To test this I used the following code:
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok