-
Quick bump, still searching for one to achieve this. I discovered a bit of the needed code on some other forum I think but I do not have any idea how to achieve this.
Right now it closes pending orders on ALL pairs too. Therefore I am also searching for a an implementation of the final of pending orders on a single pair only. . The code below does so but I cannot figure out how to implement this in the already existing code.
Attachment from above also does not appear to properly close pending orders when a predetermined number of pips has been struck...
Strange matter is that the EA from original place does function properly once it triggers positions and when the user then restarts MT4. It is going to then shut all pending orders.
So why does the indior from article #1 NOT near pending orders as intended when a take profit is struck out of a different current busy market order?
Can it be something with the code or is it a flaw on new MT4 updates?
Past 6 hours have been already invested in order to figure it out but with little to no succes. So action in here. No mq4 coders whatsoever?
There's always a possibility of someone having read / even started to code. To those worried I thank them.What a strange question from how...
I found an Option but if it somehow shows flaws again I'll be sure to Check to this one, thanks