images/contents.gifimages/index.gifimages/prev1.gifimages/next1.gif

RANGEMAX()

Definition Identifies the maximum price in a defined range of bars. 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.

Syntax images/aspen00000199.gif

Parameters SERIES
Required if the formula name declares the SERIES parameter.

INPUT
Required if the formula name declares the INPUT parameter.

<minbars>
Minimum number of periods to look back.

<maxbars>
Maximum number of periods to look back.

Examples RGMAX_EX1(SERIES,MINBARS=0,MAXBARS=10)=RANGEMAX(SERIES,MINBARS,MAXBARS)

RGMAX_EX2(INPUT,MINBARS=0,MAXBARS=100)=RANGEMAX(INPUT,MINBARS,MAXBARS)