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.
Type: diagram

Outputs

numConsecCross
The number of times the model crosses zero consecutively.
Type: string

Examples

Get the number of zeros consecutively crossed:
model = bdeGetCurrentModel();
	  numConsecCross = bdeGetNumberOfConsecutiveZeroCrossing(model)
numConsecCross = 1
Get the number of zeros consecutively crossed (Doesn't exist):
model = bdeGetCurrentModel();
	  numConsecCross = bdeGetNumberOfConsecutiveZeroCrossing(model)
numConsecCross = -1