Download MetaTrader 5

how to get the tick price

To add comments, please log in or register
Make profit on MQL5 services. It's easy!
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
9644
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