Minimum (MIN) outputs the lowest value for a predefined number of periods.
MIN (int period)
MIN (IDataSeries inSeries, int period)
MIN (int period)[int barsAgo]
MIN (IDataSeries inSeries, int period)[int barsAgo]
When using this method with an index (e.g. MIN(Close, 10)[int barsAgo] ), the value of the indicator will be issued for the referenced bar.
inSeries Input data series for the indicator
period Number of bars included in the calculations
// Outputs the lowest value for the last 20 periods
Print("The lowest value of the last 20 periods is " + MIN(Low, 20));