Download MetaTrader 5
To add comments, please log in or register
Do you have idle PCs? Connect them to MQL5 Cloud Network and earn money!
kuolung
36
kuolung 2015.09.17 02:57 

Hello , i can get tick bid price use  MarketInfo(Symbol(), MODE_BID);

, and tick ask price  MarketInfo(Symbol(), MODE_ASK);

, but how can i get last tick price


because the  CLOSE[0]  and last tick price is Different


Keith Watford
Moderator
7869
Keith Watford 2015.09.17 04:09  

MarketInfo(Symbol(), MODE_BID) is the last tick price

Bid is the last tick price received by the indicator or EA. There may be ticks missed by the EA while the EA is executing its code. 

/
To add comments, please log in or register