Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Stop Orders keep hanging

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

    Stop Orders keep hanging

    Hi there,

    I am trading since some weeks with simulated StopOrders by setting the parameter "simulated" to true:

    SetStopLoss(string fromEntrySignal, CalculationMode mode, double value, bool simulated)

    Works fine with IB TWS as long as I do not change anything manually there. But in the case where I exit all my positions within IB and turn off NT the stops keep hanging in and since they are simulated I don't see them. And of course the get triggered when a bar gets through the stoplevel.

    My question: What options do I have to cancel those orders once again or make them visible so that I can delete them manually.

    Thx,
    Peter

    #2
    Hello Peter,

    Thank you for your post.

    Please go to the NinjaTrader Control Center > Tools > Options > Strategies > NinjaScript > under Order Handling is the option 'Cancel exit orders when a strategy is disabled' enabled or disabled?

    If it is disabled, please enable this option and test close your position from TWS and check to see that the orders are cancelled on the Orders tab of the NinjaTrader Control Center.

    Please let me know if I may be of further assistance.

    Comment


      #3
      Thank you Patrick!!

      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