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 NTEducationTeam, Yesterday, 01:49 PM
      0 responses
      27 views
      0 likes
      Last Post NTEducationTeam  
      Started by NTEducationTeam, Yesterday, 01:24 PM
      0 responses
      24 views
      0 likes
      Last Post NTEducationTeam  
      Started by saltminer, 07-07-2025, 01:43 PM
      1 response
      120 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by idude, 07-08-2025, 05:06 AM
      0 responses
      54 views
      0 likes
      Last Post idude
      by idude
       
      Started by music_p13, 07-05-2025, 11:33 PM
      1 response
      54 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Working...
      X