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.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Vielen dank Bertrand

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by rocketman7, Today, 02:12 AM
      2 responses
      16 views
      0 likes
      Last Post rocketman7  
      Started by briansaul, Today, 05:31 AM
      1 response
      12 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by PaulMohn, Today, 03:49 AM
      1 response
      12 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by frslvr, 04-11-2024, 07:26 AM
      6 responses
      106 views
      1 like
      Last Post NinjaTrader_BrandonH  
      Started by trilliantrader, 04-18-2024, 08:16 AM
      6 responses
      26 views
      0 likes
      Last Post trilliantrader  
      Working...
      X