Thread: ZigZag
View Single Post
  #5 (permalink)  
Old 07-18-2007, 03:25 PM
dvarrin dvarrin is offline
Senior Member
 
Join Date: May 2007
Posts: 150
dvarrin is on a distinguished road
Hi,

I want to code an EA based on the Zigzag indicator. So if I want to know the last high or the last low, then I can simply create a loop, increasing the shift, and stop as soon as I get a value? Is that right?

What do the ZigzagBuffer, HighMapBuffer and LowMapBuffer contain? in the example above, mode should be 1 and 2 instead of 0 and 1 for the mode, no?

cheers,
Daniel

Last edited by dvarrin; 07-18-2007 at 03:32 PM.
Reply With Quote