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 ZeroKuhl, Yesterday, 04:31 PM
      8 responses
      42 views
      0 likes
      Last Post ZeroKuhl  
      Started by reynoldsn, Today, 07:04 PM
      0 responses
      3 views
      0 likes
      Last Post reynoldsn  
      Started by puapwr, Today, 06:09 PM
      0 responses
      4 views
      0 likes
      Last Post puapwr
      by puapwr
       
      Started by franciscog21, Today, 05:27 PM
      0 responses
      9 views
      0 likes
      Last Post franciscog21  
      Started by hdge4u, 04-29-2024, 12:23 PM
      5 responses
      28 views
      0 likes
      Last Post MisterTee  
      Working...
      X