LowestSinceBars
- barssince lowest value since condition met

Lowest/Highest
(AmiBroker 3.40)


SYNTAX LowestSinceBars( EXPRESSION, ARRAY, Nth = 1 )
RETURNS ARRAY
FUNCTION Returns the number of bars that have passed since lowest ARRAY value since EXPRESSION was true on the Nth most recent occurrence.
EXAMPLE lowestsincebars( Cross( macd(), 0 ), Close, 1 ) returns the number of bars passed since the lowest close price was detected from the time when macd() has crossed above zero.
SEE ALSO

References:

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

More information:

See updated/extended version on-line.