@fxDreema
Now I come up with some new error messages: (was quite busy the last time)
It is still a big problem, that my EAs keep terminating themselves without any visible reason! Tried different ways of building my EA. Tried different MetaTraders with three different Brokers. On some the EA runs longer, on some shorter. But 75% of them die!
Do you see a solution?
The EA terminates itself right in the second, it creates a position.
Tab Journal says: "170914_OpenPosisGroupIDonlyForCheckOpen_v8 (EURUSD,M1) removed"
Tab Experts says at the same second: "array out of range in '170914_OpenPosisGroupIDonlyForCheckOpen_v8.mq5' (3605,41)
And Line 3605 is: UpdateEventValues(EGV_OrderList[OrdersTotal()-1],"new","");