Max
- maximum value of two numbers / arrays

Math functions


SYNTAX Max( ARRAY1, ARRAY2 )
RETURNS ARRAY
FUNCTION Returns the largest of the two parameters.
EXAMPLE The formula "max( CLOSE, 10 )" returns either the closing price or 10, whichever is greater. The formula "max(-14, 13)" always returns 13.
SEE ALSO  

References:

The Max function is used in the following formulas in AFL on-line library:

More information:

See updated/extended version on-line.