Hi Support,
zigzag indicator used to work fine until now. ZigZag(7, 5,3) indicator started returning wired values and the indicator on the chart is drawing strange lines as well see the straight line between
the two vertical lines...this is wrong!
The zigzag values at the vertical lines are 129.528 and 129.427 they are wrongly connected!
the last couple of zigzag values over the last 50 bars returned by my strategy are: [129.749, 129.353, 129.528, 129.427, 129.243, 129.409, 129.352, 129.079, 129.286]
again the values 129.286 and 129.281 are very wired... The small program attached is returning the last zigzag values over the last 50 candles.
I use weekend filters both on charts and in the strategy and I deleted all the cache before trying this out. It seems the zigzag has a bug or am I doing something wrong?
Thanks