×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Changes - MultiCharts
Open main menu

Changes

NthMaxList

88 bytes added, 06:13, 9 February 2012
m
no edit summary
Returns the Nth highest value of the specified numerical expressions.
==== Usage ====<syntaxhighlight>NthMaxList(N,Value1,Value2,Value3, etc.);</syntaxhighlight>
Where: [[ :'''N]] ''' - a numerical expression, indicating the rank of the value to be returned .
[[:'''Value1''','''Value2''','''Value3''', etc.]] - numerical expressions ==== Example ====<syntaxhighlight>NthMaxList(4,-15,-5,0,6,12) will return a value of -5</syntaxhighlight> .
== Example ==
<syntaxhighlight>NthMaxList(4, -15, -5, 0, 6, 12);</syntaxhighlight>
Will return a value of -5, the fourth highest value of the specified numerical expressions.
[[Category:Math and Trig]]