Hello Petra,
thank you for you help.

I added the two suggested changes to my code, and the result shows a very strong improvement in speed, very nicely - thank you.

I now use :

Code
...
setf(TradeMode,TR_GTC);									
brokerCommand(SET_WAIT,0);

enterLong();
...


But as expected, Zorro does not receive a trade confirmation, so Zorro does not know about the existance of the trade - although they are opened correctly by the brokers. This leads me to the problem, not being able to close or handle this trades any more after having opened them.

Solving that problem, I tried to use

Code

brokerCommand(GET_POSITION,“EURUSD“)




to get Zorro aligned with the actual broker account status. But although GET_POSITION giving back the correct TradeID in MT4 of the not confirmed+opened+active trade, Zorro is not able the handle the trades after receiving the TradeID.
I have not been able to get the brokerCommand GET_TRADES working via MT4bridge, it seems officially not being supported for the MT4bridge.

Is there any way, I can force Zorro to „read“ the broker account via MT4bride to pickup the knowledge of the active trades inside MT4 Terminal , so I will be able to manipulate the opened trades again ?

Regards
Hendrix