Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Cant fix this error :'(...Stop price cant be placed above market order

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

    Cant fix this error :'(...Stop price cant be placed above market order


    #2
    Hello rickyblah12,

    Thank you for your post.

    This error is made when a strategy tries to place a stop market order, in this case, your stop loss, to a price that is above the current market price.

    Be sure to always check the current market price before you submit the stop-loss order to a new price to avoid this problem.

    Could you please export your script and post it here so I can see about reproducing the issue?

    I look forward to your reply.
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      how do I know which is the strategy?

      Comment


        #4
        Hello,

        Thanks for your reply.

        If a strategy caused this error, it would be running on one of your charts or through the Strategies tab of the Control Center. The name of the strategy can be found through the strategies menu of your chart or through the strategies tab. Is there an automated strategy running in your workspace or are you getting this error while manually trading?

        I look forward to your reply.
        Chris L.NinjaTrader Customer Service

        Comment


          #5
          auto strategy this is the error message
          4/1/2019 12:52:00 PM Order Order='ae9f7474741b4e5dbf6d2589c9949e26/Sim101' Name='Trail stop' New state='Accepted' Instrument='NQ 06-19' Action='Sell' Limit price=0 Stop price=7481.5 Quantity=1 Type='Stop Market' Time in force=GTC Oco='b5f1d1ac1bce49019f5eb7b602a7c1d3' Filled=0 Fill price=0 Error='Unable to change order' Native error='Stop price can't be changed above the market.'

          Comment


            #6
            but i dont know which strategy is the one

            Comment


              #7
              what do you think is the problem

              Comment


                #8
                Hello,

                Thanks for your reply.

                You should get an error in the Log tab of your Control center that says "Strategy 'MyStrategyName/######' submitted an order that generated the following error 'Order rejected'."

                Can you find anything like this in the log tab of the Control Center?

                I look forward to your reply.
                Last edited by NinjaTrader_ChrisL; 04-02-2019, 07:22 AM.
                Chris L.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by NRITV, Today, 01:15 PM
                1 response
                5 views
                0 likes
                Last Post NinjaTrader_Jesse  
                Started by maybeimnotrader, Yesterday, 05:46 PM
                5 responses
                24 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Started by quantismo, Yesterday, 05:13 PM
                2 responses
                16 views
                0 likes
                Last Post quantismo  
                Started by frankthearm, Today, 09:08 AM
                6 responses
                27 views
                0 likes
                Last Post frankthearm  
                Started by adeelshahzad, Today, 03:54 AM
                5 responses
                33 views
                0 likes
                Last Post NinjaTrader_BrandonH  
                Working...
                X