MQL4 - automated forex trading   /  

Forum

EUR/USD GBP/USD current prices

Back to topics list To post a new topic, please log in or register

avatar
3
tushpac 2008.02.14 01:16 
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

article

Statistical Report #1

A month has passed since the contest started. Now we have a rich source of materials to be analyzed. The results of multiaspect analysis of all Participants' equities are given in the first part of the report.


avatar
2462
phy 2008.02.14 02:21 

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




Back to topics list  

To add comments, please log in or register