Question regarding "too many requests" problem

 

Hi,

Does anyone know how to establish what the maximum allowable requests is per EA? Is this something that varies between brokers or is it a constant within MT?

Also, does anyone know what constitutes a "request" i.e. is this only new orders and order modifications, or does this extend to other functions like selecting or closing orders?

Thanks,

John

 
Depends on broker. All requests which requires the broker's server. So basically all the ones you listed except order-select.
 
Don't open and close repeatedly in the same bar. You're likely looking at oscillating bar zero values. Either don't, or ignore them in the same bar you open. Post your code.
 
WHRoeder:
Don't open and close repeatedly in the same bar. You're likely looking at oscillating bar zero values. Either don't, or ignore them in the same bar you open. Post your code.


Thank you. Yes, opening and closing orders consecutively in the same bar seems to be what my problem was.