You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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.