Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Reversing a position after stoploss triggered

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

    #31
    The order would not be submitted if you had a separate SetStopLoss() order. Is this what you mean by stops triggered?

    Using SetStopLoss with that order causes the entry order to be ignored based on internal order handling rules. This should be noted in TraceOrders output.

    Methods that generate orders to enter a position will be ignored if:
    A position is open and an order submitted by an exit method (ExitLongLimit() for example) is active and the order is used to open a position in the opposite direction
    A position is open and an order submitted by a set method (SetStopLoss() for example) is active and the order is used to open a position in the opposite direction
    Ryan M.NinjaTrader Customer Service

    Comment


      #32
      I do have separate SetStopLoss orders. Is there a workaround using the wizard?

      Comment


        #33
        If you have a working StopLoss and want to reverse, just do so with Market Orders, they would not trigger the order handling rules.

        Comment


          #34
          Can you give me the code snipet to work with. I am long and I have a SetStopLoss order with the original order. Prices hit my stoploss, I want to reverse and go short with a new profit target and a new stop loss target.

          Comment


            #35
            Please re-read the thread you're participating in. This is the same thing the original poster wanted.

            Your entry orders will reverse positions, not profit target and stop loss orders.
            Ryan M.NinjaTrader Customer Service

            Comment


              #36
              The solution offered in this thread is the one I tried to implement and your Internals rules did not let me do. I have read the thread again, if you have the answer and want to offer it, please do.

              Comment


                #37
                Don't use SetStopLoss and SetProfitTarget statements. You then won't run into internal order handling rules rules.
                Attached Files
                Last edited by NinjaTrader_RyanM1; 12-01-2010, 10:02 AM.
                Ryan M.NinjaTrader Customer Service

                Comment


                  #38
                  Looking at your attachment, does it mean that if I am using the wizard there is no way to do a long or short reversal and still have a Profit and Stop Target in my strategy? I noticed that you left the stops and targets box blank..

                  Comment


                    #39
                    Correct George, unless you issue a Mar****rder for the reverse, those would not be caught by the order handling rules.

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                    0 responses
                    650 views
                    0 likes
                    Last Post Geovanny Suaza  
                    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                    0 responses
                    370 views
                    1 like
                    Last Post Geovanny Suaza  
                    Started by Mindset, 02-09-2026, 11:44 AM
                    0 responses
                    109 views
                    0 likes
                    Last Post Mindset
                    by Mindset
                     
                    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                    0 responses
                    574 views
                    1 like
                    Last Post Geovanny Suaza  
                    Started by RFrosty, 01-28-2026, 06:49 PM
                    0 responses
                    577 views
                    1 like
                    Last Post RFrosty
                    by RFrosty
                     
                    Working...
                    X