Hi guys how are you. I'm wondering if someone could help me out to finish this simple OCO EA.
Basically I want to cancel other trades based on their TICKETS. So basically we have two limit orders. Once one of them triggers, the other must cancel.
ex:
extern int Ticket_1;
extern int Ticket_2;
Now, if Ticket_1 triggered
Delete Ticket_2.
or
if Ticket_2 triggeres
Delete Ticket_1
Just so you know, I want the tickets to be entered manually.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hi guys how are you. I'm wondering if someone could help me out to finish this simple OCO EA.
Basically I want to cancel other trades based on their TICKETS. So basically we have two limit orders. Once one of them triggers, the other must cancel.
ex:
extern int Ticket_1;
extern int Ticket_2;
Now, if Ticket_1 triggered
Delete Ticket_2.
or
if Ticket_2 triggeres
Delete Ticket_1
Just so you know, I want the tickets to be entered manually.
Thank you for your help.