One last question please Slawa?

 
Hi Slawa,

Thank you. I got the endless loop to work as you said using the while command and also RefreshRates function.

I wanted to ask you if I am able to operate the account / program within 5 seconds, or do I have to always wait 10 second after I open an order before rest of program gets executed?

I mean after a buy order I wanted to use Sleep(5000) rather than Sleep(10000) - is this allowed?

Thanks Slawa. Your a great man!!

Kind regards

RJF
 
No. For further operations (not trading) You don't need for delay.
Delay is needed between trading operations only
 
No. For further operations (not trading) You don't need for delay.
Delay is needed between trading operations only

Please give an example between which trading operations is required delay?
For example: I need to close many orders at once and open only one order.
So I open new order first and than trying to close many Open Orders as fast as possible.
How much delay should I use and where?
Reason: