Preforming logic tests on other Currency Pairs
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.
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!!!
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