Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

OCO logic question

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

    OCO logic question

    Support,

    When a strategy is made using the StrategyWizard, and the StopLoss and ProfitTarget orders are set, if one of the two gets filled, does the other automatically get canceled? Does the OCO(order cancle order) logic exist?

    Do they behave similar to the Atmstrategy orders, like if ProfitTarget is filled the StopLoss target gets canceled automatically?

    Also,when the strategy is stopped and user manually manages the existing Account trade(which was placed by the Strategy),does the OCO logic remain with the StopLoss/ProfitTarget orders?


    --
    Shooter

    #2
    Hi shooter, yes the Set() methods create OCO orders. When you terminate your strategy, it cannot manage your orders. For detailed info on where your orders reside on which connection, please review this link - http://www.ninjatrader-support2.com/...ead.php?t=5349

    Comment


      #3
      Thanks Bertrand for confirming the automatic OCO logic.

      Anyway in a strategy,when one is placing an order, the AtmStrategy (from a DOM)can be used? So, that trade order initiation happens in the strategy and order management can be done manually from the DOM.

      Josh, I see you made some sample strategies. Is there any which does semi automation, like order initiation by strategy and as soon as order is placed,strategy gets stopped and user manually manages the trade using DOM?

      --
      Shooter

      Comment


        #4
        Shooter,

        There is one preinstalled with your NinjaTrader called SampleAtmStrategy.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Thanks Josh. I found it. Is it possible that on the same chart window that a SampleAtmStrategy is loaded,even charttrader can be loaded too at the same time? So that once strategy places orders, they can be manually managed by the user on the same chart with chart-trader.

          Also Is there anyway a strategy like "SampleAtmSTrategy" be loaded on a chart for sometime, but it can be activated on the chart on demand by click of a button,when user sees some particular market behavior. Like the strategy is already loaded on the chart with all the parameters but it is only "activated" on user demand.

          --
          Shooter

          Comment


            #6
            Shooter,

            Unfortunately you cannot have a strategy running on the same chart that has Chart Trader running.
            Josh P.NinjaTrader Customer Service

            Comment


              #7
              Thanks for clarifying Josh. Would like to request enabling the feature of running strategy and chart-trader on same chart in future releases.

              But is there anyway a strategy like "SampleAtmSTrategy" be loaded on a chart for sometime, but it can be activated on the chart on demand by click of a button,when user sees some particular market behavior. Like the strategy is already loaded on the chart with all the parameters but it is only "activated" on user demand by quick click of a button.

              --
              Shooter

              Comment


                #8
                Shooter,

                This is currently not available. You can stop a strategy with the Start/Stop button you will see on the Control Center strategies tab though.
                Josh P.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                0 responses
                558 views
                0 likes
                Last Post Geovanny Suaza  
                Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                0 responses
                324 views
                1 like
                Last Post Geovanny Suaza  
                Started by Mindset, 02-09-2026, 11:44 AM
                0 responses
                101 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                0 responses
                545 views
                1 like
                Last Post Geovanny Suaza  
                Started by RFrosty, 01-28-2026, 06:49 PM
                0 responses
                547 views
                1 like
                Last Post RFrosty
                by RFrosty
                 
                Working...
                X