Support

Equilla Formula Language

MaxItemsN

Returns the Nth maximum value from the list of function arguments.

Inputs

N
Numeric: Value for N, for example 1 (1st) or 2 (2nd).
Values
ValueList: Comma separated list of values: (Item1, Item2, ...).

Examples

Plot the third highest price from a range of values
DrawLine( MaxItemsN( 3, Close, Close[1], Close[2] ), "3rd Max" );