Finds the Cross-Over timing and relationship of two data series.
| Syntax: | 
|---|
| CrossOver( series1, series2, [direction], [crossOverSize], [offset] ) | 
| Parameter: | Description: | 
|---|---|
| series1 | The first data series to compare to the second data series. | 
| series2 | The second data series that is used to compare to the first data series. | 
| [direction] | Optional: The direction of the cross over. •Use a positive [direction] number to look for series1 goes from below series2 to above series2. •Use a negative [direction]number to look for when series1 goes from above series2 to below series2. 
 By default, function use a 1 positive value. | 
| [crossOverSize] | The number of bars to consider when looking for the cross. 
 The default value is 1 bar, which will check if the cross occurred between the last bar and the current bar. | 
| [offset] | The number of bars to offset back before looking for the cross over. 
 The default is to look at the current bar. | 
| Example: | 
|---|
| ' Check if there was a cross over between the short '  moving average and the long moving average. | 
| Returns: | 
| TRUE, if there was a cross over, FALSE, if not. | 
| Links: | 
|---|
| 
 | 
| See Also: | 
| Edit Time: 9/18/2020 11:24:36 AM | Topic ID#: 241 |