GetSeriesLowestValue
The GetSeriesLowestValue() method attempts to find the lowest bar within a predefined number of periods.
period Number of bars that will be searched for the lowest bar
series Every data series, such as close, high, low, etc.
int barsAgo How many bars ago the low occurred
GetSeriesLowestValue(IDataSeries series, int period)
// How many bars ago was the lowest low of the session?
Print(GetSeriesLowestValue(Low, Bars.BarsCountForSession - 1));
// Which price did the lowest open of the current session have?
Print("The lowest open price of the current session was: " + Open[GetSeriesLowestValue(Low, Bars.BarsCountForSession - 1)]);
Last modified 2yr ago