Hi,

I'd like to run ZigZag indicator on 1H hour bars of past 2 years and collect its turning points in an array for further processing with a dll. ZigZag itself does not require a long LookBack, e.g. 500 is good enough.

As far as I see, I can read price data from AssetX arrays or t6 files with dataset functions then loop through the data but I wonder if there is a more elegant solution.

Thanks a lot.