I've got a problem with an array. Please help

 
Hi. I want to puth these 4 variables in to one array and then sort them to get the highest one? I doesn't seem to work and gives me errors. Can anyone help me.

Here is the code:
double highest[4]={iHigh("EURUSD",PERIOD_H1,0),iHigh("EURUSD",PERIOD_H1,1),iHigh("EURUSD",PERIOD_H1,2),iHigh("EURUSD",PERIOD_H1,3)};
 
You cannot initialize arrays with expressions.
double highest[4];
highest[0]=iHigh("EURUSD",PERIOD_H1,0);
highest[1]=iHigh("EURUSD",PERIOD_H1,1);
highest[2]=iHigh("EURUSD",PERIOD_H1,2);
highest[3]=iHigh("EURUSD",PERIOD_H1,3);