Got inconsistant series here:
function run()
{
BarPeriod = 15;
// TimeFrame=2;// uncomment to crash
vars Price = series(price());
vars DomPhase=series(sin(DominantPhase(Price,80)+PI/4));
if(rDominantPeriod>40)
if((ATR(5)/PIP)>1)
{}
// Workaround:
// var x=ATR(5)/PIP;
// if(rDominantPeriod>40)
// if(x>1)
// {}
}
Also there is 'i' omitted in word "Automation" in Zorro window and in the manual.