No one was able to figure this out?
beg = GetTickCount(); ord = OrdersTotal(); latency = GetTickCount() - beg;
OrdersTotal is not a server call. All it does is read a variable out of the terminal. Won't work.- EA periodically restart the terminal Terminal auto restart. - MQL4 forum replace the call to CloseTerminal with new terminalclose
- You're not co-located with the broker's server so latency is unavoidable so why do you care?
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
Hi,
is that possible and how can it be done, that an EA checks 1) the latency to an server
Does anbody has an idea how this can be programmed within an EA?
Thanks in advance,
Gooly