Minimum (MIN)

Description

Minimum (MIN) outputs the lowest value for a predefined number of periods.

Usage

MIN (int period)
MIN (IDataSeries inSeries, int period)
MIN (int period)[int barsAgo]
MIN (IDataSeries inSeries, int period)[int barsAgo]

Return value

double

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.

Parameters

inSeries Input data series for the indicator

period Number of bars included in the calculations

Visualization

Minimum (MIN)

Example

// Outputs the lowest value for the last 20 periods
Print("The lowest value of the last 20 periods is " + MIN(Low, 20)[0]);

Last updated