Hi
Just use this in an EA on any chart and it wil give bid price of USDJPY
double bidprice=MarketInfo("USDJPY",MODE_BID);
Comment("bidprice= ",bidprice);
Then compare to MA
bidprice > iMA("USDJPY", ------ other parameters etc)
It won't work in back tester, bidprice is always returned as 0.
Ruptor:
Hi
Just use this in an EA on any chart and it wil give bid price of USDJPY
double bidprice=MarketInfo("USDJPY",MODE_BID);
Comment("bidprice= ",bidprice);
Then compare to MA
bidprice > iMA("USDJPY", ------ other parameters etc)
It won't work in back tester, bidprice is always returned as 0.
Thanks!!!

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
Hello
I am wondering if it is possible to preform logic tests on currency pairs other than the one shown in the chart?
For instance if you had an EA running on the EUR/USD, could you check if the EURGBP was above the 20MA, or possibly a custom indicator.
I have seen the MarketInfo() command, but I have been unsucsesful in getting it to do this
Thank you