// Enter a Buy trade order
entryPrice = Close[0];
buyStopLossPrice = entryPrice - 10 * TickSize;
EnterLong("BuyTrade");
SetStopLoss("BuyTrade", CalculationMode.Price, buyStopLossPrice);
}
else if (difference >= 4 && CrossBelow(EMA(Closes[0], 4), EMA(Closes[0], 10), 1))
{
// Play an audio alert
PlaySound("Alert1.wav");
// Enter a Sell trade order
entryPrice = Close[0];
sellStopLossPrice = entryPrice + 10 * TickSize;
EnterShort("SellTrade");
SetStopLoss("SellTrade", CalculationMode.Price, sellStopLossPrice);
}
Gives me the following erros when I try to compile it:
Could you help me fix the problem. Thanks!

Comment