×

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.

Array GetMaxIndex - MultiCharts
Open main menu

Array GetMaxIndex

Revision as of 14:02, 20 January 2012 by 194.84.116.138 (talk) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Array_GetMaxIndex(ArrayName)

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:

MaxIndex=Array_GetMaxIndex(Array1);