Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Ignored Exit Order

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

    Ignored Exit Order

    Had an ExitLongOrder ignored as an invalid order during a bar-based backtest because "the stop price is greater than or equal to close price of the current bar".

    Do exchanges do this to protect one from using a bad price for the stop value ? If so, how could one protect against large gaps (down in this case) without knowing to use a plain market vs. stop-market order ?

    In any case, is there a setting that can change this order-ignore behavior in NT, because for backtesting I'd like to make it behave as it would live (as opposed to bar-based), which would fill these orders as the price moved through the stop within a bar.

    #2
    Hello,

    Thank you for your post.

    Unfortunately there is no way to disable this error and it is a NinjaTrader error, not an exchange error. This occurs because you don't know the close of the bar until it closes, therefore your sell stop (exit long) cannot be placed at the close or higher.
    Ray S.NinjaTrader Customer Service

    Comment


      #3
      Would it be correct to assume that this order would not be ignored by NinjaTrader if I was backtesting using tick data instead of bar-based data ?

      Comment


        #4
        Shogun,

        The order will be ignored when the conditions warrant so. It doesn't matter if you are using tick or minute data. If your price is invalid you will get that message.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Originally posted by Shogun SunTzu View Post
          Would it be correct to assume that this order would not be ignored by NinjaTrader if I was backtesting using tick data instead of bar-based data ?
          Depends on how your stop is placed... but with tick data there are many more data points to use as a stop, so less likely you would receive this error.
          Ray S.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          110 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          59 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          37 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          41 views
          0 likes
          Last Post TheRealMorford  
          Started by Mindset, 02-28-2026, 06:16 AM
          0 responses
          78 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Working...
          X