Cross
- crossover check

Trading system toolbox


SYNTAX Cross( ARRAY1, ARRAY2 )
RETURNS ARRAY
FUNCTION Gives a "1" or true on the day that ARRAY1 crosses above ARRAY2. Otherwise the result is "0".
To find out when ARRAY1 crosses below ARRAY2, use the formula cross(ARRAY2, ARRAY1)
EXAMPLE cross( close, ema(close,9) )
SEE ALSO  

References:

The Cross function is used in the following formulas in AFL on-line library:

More information:

See updated/extended version on-line.