You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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