- remove excessive signals spanning given number of bars

Trading system toolbox
(AmiBroker 40)

SYNTAX exremspan( ARRAY1, numbars )
FUNCTION Removes excessive signals that span numbars bars since initial signal.
(In other words first non-zero bar passes through, then all subsequent non-zero bars are ignored (zero is returned) until numbars bars have passed since initial signal. From then on a new signal may pass through)

This function is marked as obsolete.

To implement N-bar stop you should use ApplyStop function instead.

SEE ALSO ApplyStop() function


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

More information:

See updated/extended version on-line.