cyberpasta:
Seems to me that RefreshRates() or other analogous function is not needed anymore in MQL5. To get the latest Ask/Bid price use SymbolInfoTick().
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!!
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.Seems to me that RefreshRates() or other analogous function is not needed anymore in MQL5. To get the latest Ask/Bid price use SymbolInfoTick().

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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!!