Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

enter order ignored warning

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    enter order ignored warning

    Hi,
    In one of my strategies I occasionally get
    "An Enter() method to submit an entry order at "some time" has been ignored. Please search on the term 'Internal Order Handling Rules ..."

    1. Where can I set a break point to catch this in a try block? I've set try blocks all over the place trying to trace this and have had no success.

    2. Where/how can I track this down to understand what triggered this?

    3. How to tell which of the several things mentioned in the help guide is the one rule that was broken?

    Thanks ... Ed

    #2
    Hello edstaffin,

    Thanks for your post.

    If you have identified a specific date/time and instrument of the last occurrence then you might try downloading market replay for that day and then rerun to see if you can reproduce the condition/error which would be a good step to diagnosing the issue. With Market replay you can stop replay just before the error time and observe what the conditions are regarding active orders.

    You may want to consider turning on TraceOrders as a means to capture the information, however as it is an occasional error you could generate a lot of information before finding the issue. http://ninjatrader.com/support/helpG...raceorders.htm

    If the error you are seeing is on an Enter() method then there are a limited number of possibilities to check (from the helpguide):

    Methods that generate orders to enter a position will be ignored if:
    • A position is open and an order submitted by an exit method (ExitLongLimit() for example) is active and the order is used to open a position in the opposite direction
    • A position is open and an order submitted by a set method (SetStopLoss() for example) is active and the order is used to open a position in the opposite direction
    • The strategy position is flat and an order submitted by an enter method (EnterLongLimit() for example) is active and the order is used to open a position in the opposite direction
    • The entry signal name is not unique

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    558 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    324 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    545 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    547 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X