Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Invalid Stop Order problem

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

    Invalid Stop Order problem

    During simulated testing I'm running into this:

    4/13/2009 11:19:04 AM: A Sell stop order placed at '4/13/2009 10:21:00 AM' has been ignored since the stop price is greater than or equal to close price of the current bar. This is an invalid order and subsequent orders may also be ignored. Please fix your strategy.
    Now, I dug into this yesterday afternoon and actually logged the stop order price which is being placed and it is most definitely valid. I also thought about the possibility of old stops not being cleaned up properly but I am following the SampleOnOrderUpdate example very closely.

    Frankly I'm out of ideas on this one and would really appreciate any suggestions

    Thanks,

    Mole

    #2
    molecool,

    Without supporting evidence I could not advise you on any particular course of action. Please provide some more information surrounding this event. Thank you.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Josh View Post
      molecool,

      Without supporting evidence I could not advise you on any particular course of action. Please provide some more information surrounding this event. Thank you.
      Well, it only happens on very short term candles, which is what I'm testing them with. What is it you would like to see?

      Comment


        #4
        The price submitted and the prices of the bar at the instant the order was submitted.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Okay

          Originally posted by NinjaTrader_Josh View Post
          The price submitted and the prices of the bar at the instant the order was submitted.
          Yes, I have put in an additional log statement that logs the price of the stop order that's being submitted. Next time it happens I respond here with an output of my log which shows the discrepancy of what the error message claims and the actual stop price (which I know is correct).

          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