Disliked{quote} Print out the values of indicatorcounted, countedbars, bars, and limit, before the loop, to see whats going on with them on first loading and then on every new tick. The value of limit in the loop will be what the i counter goes upto, make sure the limit value is what you intend it to be.Ignored
COT: The precious data ignored