4108 Error: Invalid ticket/order close error
-
Hey folks, just wanted to contribute on the 4108 MT4 order close / invalid ticket error. After literally 100+ tests and a couple of sleepless nights couldnt find any solution on this forum but after googling the issue I finally grasped the general impression on whats causing this fault.

Heres a FF coder explanation on the issue : https://www.forexfactory.com/showthread.php?t=511029
Without goin deep in details, heres, HOW YOU SHOULD NEVER DO, when putting "For each trade"/"For each pending order" and the rest of the pink extention blocks :

and heres, THE CORRECT ORDER:

During my FXDreema learning curve, Ive found, that if you not getting the behaviour you expect from your EA, check if the sequence of the logic blocks is correct first. Always make sure, those pinky extention blocks are DIRECTLY connected to the Parental "For each trade"/"For each pending order" block and no other block part them inbetween.
Hope, this will save time and effort for new guys over here
-
Impressive work. Thank you very much GeoFX.
