EA Backtesting - How To - page 2

 
RaptorUK:
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.