if (EMA(Fast)[0] > EMA(Medium)[0]);
{
Print(CurrentBar + " Fast MA > Medium MA");
Variable0=1;
} /// Statement expected
else /// Invalid expression of "esle" , Expected ;
{
Print(CurrentBar + " Fast MA < Medium MA");
Variable0=0;
}
I open the if statment on the NinjaTrader Help but the code structure is the same and for this reason i could not understand where are these new mistakes. Do you have any idea?

Comment