Is it safe to assume and to condition logic to if CurrentBar == Count - 2 when COBC = true? in other words, is it possible that OBU() will fire in a situation where CurrentBar is not Count - 2 ?
Btw, I don't care about the initial iteration of the historical bars by OBU().
Comment