Unexpected token

 

Hi all,


I wanted to compile my mql5 file and got the error of unexpected token (besides others) and cannot seem to find a solution.

Could anybody help me? 


//---other parameters
double p_close;    //variable for previous close
double open;    //variable for open
int SMAhandle;    //variable for current SMA
double SMA=[];
double BBands;    //variable for Bollinger Bands
double momentumhandle;    //variable for momentum
double momentum[];
double StdDevhandle;    //Standard deviation
double StdDev[];
double Base[];    //Base Bollinger Band
double Upper[];    //Upper Bollinger Band
double Lower[];    //Lower Bollinger Band


Thanks a lot

 
double SMA=[];
⋮
double StdDev[];
Reason: