×

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

Changes

Jump to navigation Jump to search

Array GetMaxIndex

541 bytes added, 14:02, 20 January 2012
Created page with "Returns a numerical value indicating the maximum index of a one-dimensional array. Array indexes start at 0, and array size is equal to the value of the maximum index plus on..."
Returns a numerical value indicating the maximum index of a one-dimensional array.
Array indexes start at 0, and array size is equal to the value of the maximum index plus one.

==== Usage ====
<syntaxhighlight>Array_GetMaxIndex(ArrayName)</syntaxhighlight>

Where: [[ArrayName]] - an expression specifying the name of an array

==== Example ====
Assign a value that indicates the maximum index of Array1 to the MaxIndex variable:

<syntaxhighlight>MaxIndex=Array_GetMaxIndex(Array1);</syntaxhighlight>



[[Category:Dynamic Arrays]]
Anonymous user

Navigation menu