Forum

Zigzag returns me 0

I am trying to get the first lower point of the ZigZag indicator which it shouldn't be the current candle may somebody help me please and tell me what is wrong with my code I think I'm doing it right and I didn't get the point Thank's in advance int zigzag,xs; double zigzagDown[]; int OnInit () {

Array out of range

I have coded a multi symbols expert and a loop for checking the conditions which one of them is dt cross. The problem is it's working most of the time but sometimes sends an error array out of range would somebody please kindly look at my code and let me know what I'm doing wrong, I also break the