Crossover

From Boolean Trader
Jump to: navigation, search

Description

Crossover is a simple function that indicates when two input arrays crossover each other. When given two inputs, A and B, cross returns 1 for the periods that A crosses above B.

It is very commonly used by algorithmic trading formulas. An example would be generating a buy signal when a faster moving average crosses over a slower moving average. [1]

Syntax



Inputs

Outputs

Example Usage

Example Calculations

References