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 arvidvanstaey, Today, 02:19 PM
              4 responses
              11 views
              0 likes
              Last Post arvidvanstaey  
              Started by samish18, 04-17-2024, 08:57 AM
              16 responses
              61 views
              0 likes
              Last Post samish18  
              Started by jordanq2, Today, 03:10 PM
              2 responses
              9 views
              0 likes
              Last Post jordanq2  
              Started by traderqz, Today, 12:06 AM
              10 responses
              18 views
              0 likes
              Last Post traderqz  
              Started by algospoke, 04-17-2024, 06:40 PM
              5 responses
              48 views
              0 likes
              Last Post NinjaTrader_Jesse  
              Working...
              X