I have a general question regarding EA's. In backtesting the EA's open and close positions without error. But in live trading the EA's sometimes fail to open or close an order.
So in backtesting all is good. But in live trading 2 errors happen:
- if first order is closed, then pending orders are 30% of the time not automatically deleted
- if second order is opened, then the third pending order failed to create.
Can anybody explain why please? Anything to do with execution time? And how can I code a solution for this problem?