Geeting data from other pairs

 
I am writing an EA and all works great. I need to get information from other pairs to run my EA on a specific pair. I need the 89sma info from other pairs I use the following - ma=iMA("EURUSD",PERIOD_H1,=89,0,MODE_SMA,PRICE_CLOSE,1); but it keeps on returning a value of 0 and not the specific pair 89sam. Please help
 
ma=iMA("EURUSD",PERIOD_H1,=89,0,MODE_SMA,PRICE_CLOSE,1)

should be:

ma=iMA("EURUSD",PERIOD_H1,89,0,MODE_SMA,PRICE_CLOSE,1)

if that doesn't work see if EURUSD is the right symbol identifier. on some mini accounts it's EURUSDm

 
zzuegg:

should be:

if that doesn't work see if EURUSD is the right symbol identifier. on some mini accounts it's EURUSDm


Thank you. The "=" was a typo. And yes I am running this on a mini account, changed it to EURUSDm, and now it works !!!!!

Reason: