Hello,
I was very glad to hear you could override the bars() function in the new version of Zorro, and have finally tried to use it in a script I have been working on.

Well, I copied out the example in the manual for range bars. To me the code looks fine, but when I implement it the bars vary wildly in size (see attached picture).

Do you think it is because the function is only called every tick?

Attached Files RB.png