I can't get Previous Bar's Low Price
Created at 26 May 2016, 08:47
SH
I can't get Previous Bar's Low Price
26 May 2016, 08:47
Dear,
I am new in cAlgo language. I am try to develop a cBot. But i am facing one problem. I want to get bar Low/High value and i am using a Zig_ indicator and i want to get value by Bar, but i can't, i write code but not working.
Print(MarketSeries.Low[1] + " " + _zigZag.Result[1]);
Above code i want previous bar low value and ZigZag value. but i do get wrong data.
Above image you will see previous low data not match with my chart previous bar low value, also Zig_ value also 0. Please someone help me
Thanks
Spotware
26 May 2016, 10:12
Dear Trader,
Please have a look at the Last() method.
@Spotware