As I see from the release notes the ZigZag has been modified recently.
Unfortunately it still does not work correctly:
Take the following example:
FDAX, 14jan2010 time 14:30
using a ZigZag(FDAX 03-10(1 Min),Percent,0.1,False):
on the attached picture you can see that a ZigZagLow has been drawn @14.30. This is currently bar number 1.
Hence a call to the function
i=ZigZag(Percent,0.1,false).LowBar(0,1,2);
should return a value of 1 indicating a Low at bar 1.
But the return is -1.
How come?
This is obviously a bug. Please investigate
Attached a tesstrategy and the zigzag picture
You can run a marketreplay , run the teststrategy, it should print the ZigZagLows to the Output window, but LowBar(...) does return only -1 until about 2 bars later.

Comment