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 volIQ, 04-23-2025, 05:43 PM
          4 responses
          33 views
          0 likes
          Last Post volIQ
          by volIQ
           
          Started by algospoke, 04-21-2025, 06:44 PM
          2 responses
          45 views
          0 likes
          Last Post MiCe1999  
          Started by michelz, 02-18-2025, 08:30 AM
          33 responses
          1,042 views
          0 likes
          Last Post MiCe1999  
          Started by martyn73, 09-06-2019, 01:27 PM
          6 responses
          313 views
          0 likes
          Last Post bltdavid  
          Started by xfactscout, Today, 02:26 PM
          2 responses
          21 views
          0 likes
          Last Post xfactscout  
          Working...
          X