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 junkone, Today, 06:05 PM
      0 responses
      2 views
      0 likes
      Last Post junkone
      by junkone
       
      Started by DayTradingDEMON, Yesterday, 08:54 AM
      13 responses
      41 views
      0 likes
      Last Post DayTradingDEMON  
      Started by DJ888, Yesterday, 05:57 PM
      2 responses
      20 views
      0 likes
      Last Post DJ888
      by DJ888
       
      Started by mtamaku, Today, 05:21 PM
      0 responses
      4 views
      0 likes
      Last Post mtamaku
      by mtamaku
       
      Started by rbeckmann05, Yesterday, 11:37 PM
      2 responses
      13 views
      0 likes
      Last Post rbeckmann05  
      Working...
      X