Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy error for Sell stop limit order

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

    Strategy error for Sell stop limit order

    hello,

    I have developed a strategy in Strategy Builder which includes the placement of a sell stop limit order under some circumstances. When I run the strategy live and when the current price is away from the sell stop limit order that is submitted I am getting the attached error. I am aware that the order isn't possible to execute (since it's way off) but what is the purpose of the error? Should it just remain active or canceled / replaced by the next one? Why I am getting an error notification?

    thanks
    Attached Files

    #2
    Hello space_trader,

    The error is stating that a sell stop limit order was submitted with the stop price above the current bid.

    Sell stop prices must be below the bid. Buy stop prices must be above the ask.

    This error will also occur if you place a manual order on the wrong side of the market on the superdom.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hello and thanks for the reply,

      Is there any way this error notification can be ignored other than clicking OK? I run a strategy unattended and NT crashes, after receiving too many error notifications like those.

      Comment


        #4
        Hello space_trader,

        There are no supported methods to disable order error messages. These are important to display the user as they may be orders intended prevent loss.

        It would be recommended that the logic in the script be corrected to ensure that prices for the stop are on the proper side of the market, above the ask for buy stop orders, below the ask for buy limit orders, below the bid for sell stop orders, and above the bid for sell stop limits.
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        46 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        22 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        33 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        50 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        42 views
        0 likes
        Last Post CarlTrading  
        Working...
        X