RangeMin()

  See Also

Related Topics

 

 

Description

Identifies the minimum price in a defined range of bars. The range does not have to be oriented to the current bar.

 

 

Syntax

 

 

Parameters

SERIES

Use the SERIES parameter when you are referencing a study value. In chart windows, values are displayed in decimals. In quote windows, values are displayed in the units of the underlying instrument.

 

INPUT

Use the INPUT parameter when you are referencing an overlay value.

 

minbars

The minbars parameter marks the beginning of the range.

 

maxbars

The maxbars parameter marks the end of the range.

 

 

Return Value

The lowest value in the range.

 

 

Examples

RNGMin1(SERIES,minbars=0,maxbars=100)=begin

retval = RangeMin(SERIES,minbars,maxbars)

end

 

RNGMin2(INPUT,minbars=0,maxbars=100)=begin

retval = RangeMin(INPUT,minbars,maxbars)

end

 

 

Comments

The parameters in this function enable you to define a range. This range is defined in relationship to the current period, or bar. Using zero (0) for the first parameter causes price detection to begin with the current bar. Using a positive integer for the first parameter causes price detection to begin the respective number of bars back from the current bar. The second parameter identifies the end of the range. The first parameter must be less than the second.