My code is something like this:
if (IsFirstTickOfBar) { DateTime startDateTime = new DateTime(Time[0].Year, Time[0].Month, Time[0].Day, 6, 35, 0); int barsAgo = CurrentBar - Bars.GetBar(startDateTime); int lowestBarsAgo = LowestBar(Low, barsAgo); Print(Low[lowestBarsAgo].ToString()); }
I'm wondering if there is any error with the LowestBar method.
Thanks.
Emilie.
Comment