EUR/USD GBP/USD current prices

 
Hi everybody,
i have a one question, which may sound easy, but the answer is hard :-))) In my code i want to get the current price for EUR/USD and GBP/USD. THe fact that the expert advisor is attached to the chart of the EUR/USD doesn't let me ask about the current price of GBP/USD. Does someone know a solution for this. Currently i am using the following function to get prices, i am not sure that this is the right one:

MarketInfo("EURUSD",MODE_ASK)

Thanks in advance!!!

Cheers,

Milen
 

That will work for Ask price,

See iClose(), iOpen(), iHigh(), etc...

Any of the functions starting with "i" can pull data from other charts and timeperiods