Does the function MarketInfo( Symbol(), MODE_SPREAD ) query the server or client terminal?
When working with a very volatile spread (e.g. AUDNZD) I find I want to average the spread tick by tick, but does that mean I'm making server requests every tick? I'm happy to pester the client terminal, but I don't want to repeatedly query the server like this.
Is there accepted good practice with regard to frequency of querying the server?
What about other functions? Where can I find out which functions are dealt with by the server and which are dealt with by the client terminal?
Understand. It's a good test you suggest. Overnight, I also wondered if I could test the functions off-line. I'd expect all the functions to work except those that went to the server.
Anyway, thanks again. I will monitor the spread with vigor ;-)
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hi
Does the function MarketInfo( Symbol(), MODE_SPREAD ) query the server or client terminal?
When working with a very volatile spread (e.g. AUDNZD) I find I want to average the spread tick by tick, but does that mean I'm making server requests every tick? I'm happy to pester the client terminal, but I don't want to repeatedly query the server like this.
Is there accepted good practice with regard to frequency of querying the server?
What about other functions? Where can I find out which functions are dealt with by the server and which are dealt with by the client terminal?
I would appreciate any guidance on this subject.
Thanks
Jellybean