OBV(i-1) — is the indicator value of the previous period, so correct me if I'm wrong but it only looks at the previous period. I want to change the formula to look at the last X periods. e.g 9. Its a new strategy which I think would work, PM me and maybe I can explain bit more.