Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Entry order placed . . . has been ignored

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

    Entry order placed . . . has been ignored

    I am using advanced order handling in a strategy that returns the following message while backtesing in the Strategy Analyzer:

    2007-11-19 12:40:06:093 ERROR: An entry order placed at '10/5/2007 9:15:00 AM' has been ignored since there already are pending exit orders for the opposite site of the market in place. Please fix your strategy.
    To summarize, what I am trying to backtest is . . .

    7:15 am bar - place a EntryLongStopLimit order (aka buy stop )
    8:15 am bar - Buy stop order is triggered and limit order is placed and filled. OnOrderUpdate method is used to place target limit and stop loss (market) orders above and below the average entry price respectively using the proper entry signal name.
    9:15 am bar - Stop loss (market) order is hit to close the position. A new EntryShortStopLimit order (aka sell stop) is placed but is ignored per the message above.

    I would have thought that the previous trade's outstanding exit order (target limit order) would have been cancelled via OCO and therefore not interfere with the new entry being placed in the opposite direction on the same bar.

    1) Am I missing something or is this behavior expected?

    2) Is there a way to have previous trade exits and new orders be placed in the opposite direction on the same bar?

    3) Can you confirm whether "fix your strategy" messages of this nature are displayed once for the first occurrence or for each occurrence encountered within a strategy backtest?

    Thanks,

    Whitmark

    PS Note the typo in the error message "site" vs "side".
    whitmark
    NinjaTrader Ecosystem Vendor - Whitmark Development

    #2
    In your example, wait for the stop order to be confirmed cancelled and then submit the next entry order. It will be cancelled once the position is closed out.

    The error text will be changed in next release. Disregard the "fix your strategy"
    RayNinjaTrader Customer Service

    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