I was practicing to make a simple E.A.but the following errors occurs .
" '}' - semicolon expected "" 'else' - illegal 'else' without matching 'if' "
Can anyone please point out my mistake in the following program and make the correction.
#property copyright "Copyright 2016, MetaQuotes Software Corp."
#property link "https://www.mql5.com"
#property version "1.00"
extern int period = 14;
bill = rsi();
if (bill == true)
else if(bill == false)
Alert("there is something wrong");
point = iRSI(Symbol(),0,period,PRICE_TYPICAL,0);
To add comments, please log in or register