no answer? even from MQL staff?
AR78:
no answer? even from MQL staff?
Based on the amount of time that it takes, which is near zero, the data resides
in the client
A request to the server will take 100 milliseconds or more, just for transit time.
use GetTickCount() for performance measurements to count milliseconds.
Often, the counter at the start and end of a section of code will be the same value, i.e. it took less than a millissecond to perform the task
int startTick = GetTickCount();
... some operation you want to measure...
Print("It took "+(GetTickCount() - startTick)+" milliseconds to perform");
Thanks phy
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Hello
Could you please help me?
I want to control current status of my positions every time EA runs using OrderSelect() and OrderType() functions. does this fecth data from server every time or does it work on client? does it cause flooding error?
regards