Download MetaTrader 5

How MarketInfo("GBPUSD",MODE_ASK); in mql5?

To add comments, please log in or register
Take active part in the life of the community. Improve your rating!
johnnybegoode77
43
johnnybegoode77 2016.02.20 03:54 

How to

MarketInfo("GBPUSD",MODE_ASK); in mql5?


Thanks!

Biantoro Kunarto
14884
Biantoro Kunarto 2016.02.20 03:59  

Use this

SymbolInfoDouble("GBPUSD",SYMBOL_ASK); 
Roberto Jacobs
46450
Roberto Jacobs 2016.02.21 04:52  
johnnybegoode77:

How to

MarketInfo("GBPUSD",MODE_ASK); in mql5?


Thanks!

In MT4 can also be used:

double ask=SymbolInfoDouble("GBPUSD",SYMBOL_ASK); // same MarketInfo("GBPUSD",MODE_ASK);
double bid=SymbolInfoDouble("GBPUSD",SYMBOL_BID); // same MarketInfo("GBPUSD",MODE_BID);


To add comments, please log in or register