Download MetaTrader 5

Is there a similar RefreshRates()??

To add comments, please log in or register
Juan
102
Juan  

I'm working on  mql4 to mql5 upgrade. I used RefreshRates() before sending an order to avoid worng data (specially Bid and Ask). The use of RefreshRates() solved eventual errors due incorrect quotes.

If there anyway to request fresh data from the server? Maybe SymbolIsSynchronized or SymbolInfoTick?

Thank you!!

Nikolay Panev
1100
Nikolay Panev  
cyberpasta:

I'm working on  mql4 to mql5 upgrade. I used RefreshRates() before sending an order to avoid worng data (specially Bid and Ask). The use of RefreshRates() solved eventual errors due incorrect quotes.

If there anyway to request fresh data from the server? Maybe SymbolIsSynchronized or SymbolInfoTick?

Thank you!!

Seems to me that RefreshRates() or other analogous function is not needed anymore in MQL5. To get the latest Ask/Bid price use SymbolInfoTick().
Juan
102
Juan  
robofx.org:
Seems to me that RefreshRates() or other analogous function is not needed anymore in MQL5. To get the latest Ask/Bid price use SymbolInfoTick().
That has sense. Thanks.
Juan
102
Juan  
robofx.org:
Seems to me that RefreshRates() or other analogous function is not needed anymore in MQL5. To get the latest Ask/Bid price use SymbolInfoTick().
That has sense. Thanks.
To add comments, please log in or register