Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Err: order can`t be placed above the market

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

    Err: order can`t be placed above the market

    Hello.

    Please explain me the situation - I have a couple of strategies runned in strategies tab. I`ve checked it an found that 3 of them were closed with an error: Sell stop or stop limit orders can`t be placed above the market. What is the problem?

    #2
    Hello Vitalieg,

    These strategies are submitting invalid orders. You will have to change so that sell stop or stop/limit orders are placed below the market. If you'd like to place orders in this area, then you would want to use limit orders.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Actually I do not understand. I have just added a stop losses to the strategy. Some copies works ok, some closes with this error.

      Comment


        #4
        Please share the code snippets that are submitting these orders.
        Ryan M.NinjaTrader Customer Service

        Comment


          #5
          Sure. I tried to realize the trailstop.
          Last edited by vitaleg; 08-31-2010, 08:16 AM.

          Comment


            #6
            Hello Vitaleg,

            You're using calculation mode price, so it's possible to submit at the wrong side of the market, leading to the messages you're getting.

            I suggest using print statements to check the value of your stop losses. Variables lower, higher, and trailstop should all be checked to make sure they are what you expect.

            Additional debugging help is available here:
            Ryan M.NinjaTrader Customer Service

            Comment


              #7
              Thank you.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by argusthome, 03-08-2026, 10:06 AM
              0 responses
              85 views
              0 likes
              Last Post argusthome  
              Started by NabilKhattabi, 03-06-2026, 11:18 AM
              0 responses
              48 views
              0 likes
              Last Post NabilKhattabi  
              Started by Deep42, 03-06-2026, 12:28 AM
              0 responses
              29 views
              0 likes
              Last Post Deep42
              by Deep42
               
              Started by TheRealMorford, 03-05-2026, 06:15 PM
              0 responses
              32 views
              0 likes
              Last Post TheRealMorford  
              Started by Mindset, 02-28-2026, 06:16 AM
              0 responses
              67 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Working...
              X