Newbies using alert on EURUSD - script

 

Dear all, hope that someone can shine some lights on this. I was trying to run the below script on EURUSD. But the alert message always show as

"Moving Average for EURUSD = 0" and "Parabolic SAR for EURUSD = 0"


Any idea what steps I have missed? Do I need to enable something in order to work?


int start()
{

double sar,
ma;

sar=iSAR("EURUSD",PERIOD_M30,0.02,0.2,0);
Alert("Parabolic SAR for EURUSD=",sar);

ma=iMA("EURUSD",PERIOD_M30,8,0,MODE_EMA,PRICE_CLOSE,0);
Alert("Moving Average for EURUSD=",ma);


//----

//----
return(0);
}


regards,

Sook

Reason: