EA execution problems in live trading
Results 1 to 2 of 2
 0 Attachment(s)    

Thread: EA execution problems in live trading

  1. #1

    Default EA execution problems in live trading

    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?

  2. #2
    Senior Member fxtester's Avatar
    Join Date
    Nov 2008


    Hi michaellobry,

    Add comments to your EA, counters of pending orders and open orders.

    Try different ways to code your delete function.

    Sometimes Metatrader is not able to create the magic number for the freshly open order. So, it is better to apply one EA per account and to manage all orders with the EA.

    Also add prints in the code to see if it is well readen in live mode.

Similar Threads

  1. Before going with live trading
    By shereali in forum Trading discussion
    Replies: 4
    Last Post: 04-13-2016, 17:59
  2. Replies: 0
    Last Post: 05-04-2014, 15:16
  3. Members live trading results
    By blackdog in forum Expert advisors live statements
    Replies: 1
    Last Post: 12-01-2009, 07:35

Tags for this Thread

backtesting, live, trading

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

EA execution problems in live trading