MQL4 Reference Array Functions ArrayMinimum
ArrayMinimumThe function searches a minimal element in a one-dimension numeric array.
Parameters array[] [in] A numeric array, in which search is made. count=WHOLE_ARRAY [in] Number of elements for search. By default, searches in the entire array (count=WHOLE_ARRAY). start=0 [in] Index to start checking with. Return Value The function returns an index of a found element taking into account the array serial. In case of failure it returns -1. Example:
See also |