i copied script from training a strategy at zorro help. Script is below. I trained it with USDJPY after that i clicked result button then there was no result on graphic. Also in Log folder there was no result. How can i solve it?

// n-bar Moving Average system (just for example - don't trade this!)
function run()
{
set(PARAMETERS);
var TimePeriod = optimize(100,20,200,10);
vars Prices = series(price());
vars Averages = series(SMA(Prices,TimePeriod));
if(crossOver(Prices,Averages))
enterLong();
else if(crossUnder(Prices,Averages))
exitLong();
}