bdeGetNumberOfConsecutiveZeroCrossing
Takes model and returns the number of times it consecutively crosses zero.
Syntax
numConsecCross = bdeGetNumberOfConsecutiveZeroCrossing(model)
Inputs
- model
- Model used to get the number of times zero is crossed consecutively.
Outputs
- numConsecCross
- The number of times the model crosses zero consecutively.
Examples
model = bdeGetCurrentModel();
numConsecCross = bdeGetNumberOfConsecutiveZeroCrossing(model)
numConsecCross = 1
model = bdeGetCurrentModel();
numConsecCross = bdeGetNumberOfConsecutiveZeroCrossing(model)
numConsecCross = -1