Hi - I'm looking for a way get a count of no. of bars after the low of day bar that closed higher than previous bar. All on a five minute chart. Below is the rough study I have so far. I can get the low of day barnumber by the code below: def bn = BarNumber(); def time = SecondsFromTime(930) > 0 ; def lod = if time then low(period = AggregationPeriod.DAY) else Double.NaN; def lodbnby jt - Trading Discussion