Technical Question

 
Does anyone know exactly what happens with a call to function like OrdersTotal(). If I need to know how many open orders I have, it appears that I would have to make this call every tick. If it is a very fast moving market and I make an extra round trip to the server with each tick, this seems like it would be a major performance issue. Additionally, the documentation says (I think) that bid, ask, point, etc. are only valid at the start of an EA or after a RefreshRates; did I read that correctly.

Thanks in advance
Scott
 
P.s. If I in an order loop such as select all by ticket number and I reference something like close time (which is a server call) what exactly does that do in terms of performance, calls to the server, etc.

Thanks
Scott
 

You works with your local copy of orders list. Terminal gets orders list from server automatically

 
stringo wrote:

You works with your local copy of orders list. Terminal gets orders list from server automatically


Thank you for the information, that makes things much clearer