Download MetaTrader 5

equivalents to Bid and Ask

To add comments, please log in or register
darkmatter
17
darkmatter  

MQL4 has Bid and Ask.  Are there equivalents in MQL5?  I can’t get Bid() or Ask() to work in MQL5. I don’t understand what “selected by Name method” means.  Code examples would be very helpful.

och
486
och  
darkmatter:

MQL4 has Bid and Ask.  Are there equivalents in MQL5?  I can’t get Bid() or Ask() to work in MQL5. I don’t understand what “selected by Name method” means.  Code examples would be very helpful.

double Ask = SymbolInfoDouble(_Symbol,SYMBOL_ASK); 

 

Regards, 

darkmatter
17
darkmatter  
och:

double Ask = SymbolInfoDouble(_Symbol,SYMBOL_ASK); 

 

Regards,


Thanks for your help


To add comments, please log in or register