Error 128

 
I have the following problem:

I wrote an expert that should open and closes orders based on some conditions.

I run several instances of this expert (on different charts). After a couple of
hours first I am getting error 128 (trade timeout) and after that a bunch of error 146 (trade context busy).

I solved error 146 by implementing "semaphores". So now I am sure that only one
expert is trying to trade at any time and if the trade is failed then all the experts will not do any trades for 10 sec. Also I check IsTradeAllowed before even trying to trade.

Error 146 is gone now, but error 128 still remains. The funny thing is - manually orders can be opened and closed (at the samemtime when the experts are getting error 128)!

I have latest build of your platform.

Pls, give me some hints.
 
please download our latest build 183 marked 07 Oct 2005
 
2 Slawa

I got the version that you mentioned.

So far I did not get error 128

BUT!! I have already got 3 times error #6 !!

test time ~ 2 hours
Reason: