I don't understand the BarPeriod thingy.
When I start the script. First there will be executed the #define lines and after that the run function will be executed. So when the define command executes BarPeriod is 60 not 15 or does Zorro internally handle it the other way around!?