ArrayMaximum
The function searches a maximal element in a one-dimension numeric array.
int ArrayMaximum( |
Parameters
array[]
[in] A numeric array, in which search is made.
start=0
[in] Index to start checking with.
count=WHOLE_ARRAY
[in] Number of elements for search. By default, searches in the entire array (cnt=WHOLE_ARRAY).
Return Value
The function returns an index of a found element taking into account the array serial. In case of failure it returns -1.
© 2000-2010, MetaQuotes Software Corp.