Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Changing Stop Price

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

    Changing Stop Price

    Hi All.
    I am developing a strat that trades just one futures contract, using the managed orders approach. I would like to alter my stop at times, so I have something like
    ExitStopOrder = ExitLongStop(StopAt);
    Where ExitStopOrder is an IOrder object.

    If I want to change the stop price, ( StopAt ), should I
    CancelOrder(ExitStopOrder);
    And enter a new one?

    Or, is it OK to just say something like
    ExitStopOrder = ExitLongStop(StopAt + (1 * TickSize));
    To increase the stop price one tick without doing CancelOrder first?

    Thanks
    Dave

    #2
    Hi Dave,

    Or, is it OK to just say something like
    ExitStopOrder = ExitLongStop(StopAt + (1 * TickSize));
    To increase the stop price one tick without doing CancelOrder first?
    Yes, that's the best practice here for order modification. No need to separately cancel and resubmit.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Wow, thanks Ryan, an answer after 4 minutes, it doesn't get much better than that.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      59 views
      0 likes
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      143 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      161 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 05-10-2026, 08:12 PM
      0 responses
      97 views
      0 likes
      Last Post CarlTrading  
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      283 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Working...
      X