HighestSince
- highest value since condition met

Lowest/Highest
(AmiBroker 3.40)


SYNTAX HighestSince( EXPRESSION, ARRAY, Nth = 1 )
RETURNS ARRAY
FUNCTION Returns the highest ARRAY value since EXPRESSION was true on the Nth most recent occurrence.
EXAMPLE highestsince( Cross( macd(), 0 ), Close, 1 ) returns the highest close price since macd() has crossed above zero.
SEE ALSO

References:

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

More information:

See updated/extended version on-line.