
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
Your code does not compile. If I have to change the code to reproduce the error then that defeats the the idea or reproducing what you are seeing . . .
OK, so I guess the important piece of information that you never specifically mentioned, other than a comment in your code, is that you open the two Orders manually ?
As I wrote in my post above: "Here is the complete code of my EA - I just change the Price, SL and TP (all variables that start with my*) and then start it"
It is a simple OCO-EA that works on Broker-A but doesn't on Broker-B as it seems that a new order with a new ticketnumber is opened.