Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Quick OCO Question

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

    Quick OCO Question

    Hi guys,

    Can you please confirm the following;

    If I am NOT using SetStopLoss(), SetProfitTarget() and SetTrailStop() then I need to manage OCO functionality using my own code (monitoring order status with OnOrderUpdate() etc.). Is this correct?

    If so, then I take it that passing a unique fromEntrySignal tag as an argument to one of the order creation functions (e.g. ExitLongStop()) would be insufficient for NT to automatically kill all associated orders when the position associated with the unique fromEntrySignal is closed out. I would need to manually cancel all associated orders. Is this correct?

    thanks

    #2
    This is correct trader_rick, you would need to code the OCO functionality yourself if you're not working with the Set() methods, this reference sample will help - http://www.ninjatrader-support2.com/...ead.php?t=7499

    You could also call ATM strategies for exit management with AtmStrategyCreate(), those would then place OCO orders for you.

    Comment


      #3
      Vielen dank Bertrand

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      68 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      42 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      24 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      27 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      54 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X