Count of bars since the highest value of an expression in a number of bars
expr - data series formula
count - lookback period
If today's value is the highest (largest) value in count days, the function returns 0. If the high was yesterday, the return value is 1, and so on.
If there are multiple instances of the highest value then the most recent one is used.
This function supports ultra-fast one-pass calculation when used in the Data Section with a non-variable count.