EasyLanguage Reserved Words & Functions

LowestArray (Function)

image\trumpet2.gif Disclaimer

The LowestArray function returns the lowest value in the specified array.

Syntax

LowestArray(PriceArray, Size)

Returns (Double)

The lowest value found in an array of values.

Parameters

Name

Type

Description

PriceArray

Numeric Array

Specifies the name of a numeric array containing bar values to compare for the lowest value.

Size

Numeric

Sets the number of data elements (size) in the array to evaluate.

Remarks

The value for the Size input parameter should always be a whole number greater than 0 and is typically equal to the number of data elements in the array.

The LowestArray function only works with one-dimensional arrays.  All array-based referencing begins with array element 1.

Example

The following assigns the lowest value of the 20 elements in the array to Value1:

Array: myArray[20](0);

{… add EL statements here to assign Low values to array elements... }

Value1 = LowestArray(MyArray, 20);

 

See Also

highestarray, extremesarray, Lowest