Question on deleting pending orders
-
Mr Dreema.
So how do i delete pending orders when one takes profit?I found the delete pending order block. But can not find a combination that deletes buys and sell pending orders when a profit is taken!
Thanks In advance!

-
It depends. Check the count of trades and then delete them - this is fine if for example having 0 trades means that pending orders must be deleted. Or detect TP event in "on Trade" and delete the orders there. Also try the OCO option which is available in the pending order blocks.
-
Ok Let me give it a shot! Thank you for the direction!
-
Works Perfect! Now a Question. How do i send the EA to My Brother?
Through Email as a exe file? -
You can make a shared copy as well. I hope you are not asking me how to send e-mails with attached files
