I'm new to Zorro, so may be misunderstanding. But the first line of the examples on the bar() man page is:

var BarRange = 0.0030; // 30 pips bar range

Any newbie programmer hard-coding the pip size like this would get a nasty shock when they trade a Yen pair.

Can I suggest replacing this with:

var BarRange = PIP * 30; // 30 pips bar range