Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Manually moving a stop in a Managed order

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

    Manually moving a stop in a Managed order

    Hi,

    I was wondering, when coding a strategy that uses the managed order approach, if we are able to manually move the stops and the targets in the DOM for the strategy entered on its signals as I would be able to when using an auto trader that creates an order using an ATM.

    Current the strategy fires the orders with a 10 tick stop and a 20 tick target but if i move the stop in the DOM manually when the next bar appears the stop is returned to its original state of 10 tick stop and 20 tick target. Is it possible to move the stop manually in the DOM for an order that was created by the managed approached strategy?

    This following is my syntax in the initialize section for the stop and target if it helps.

    SetProfitTarget("SE1", CalculationMode.Ticks, ProfitTarget);
    SetStopLoss(CalculationMode.Ticks, StopLoss);
    SetProfitTarget("LE1", CalculationMode.Ticks, ProfitTarget);

    Thank you for your help in advance

    Regards
    Sammy

    #2
    sammy,

    If you want to use this method, you would need to use ATM strategies from within a auto-strategy.

    NinjaTrader comes with a sample accessible in Tools > Edit NinjaScript > SampleATMStrategy.

    Please let me know if I may assist further.
    Adam P.NinjaTrader Customer Service

    Comment


      #3
      Adam,
      Thank you kindly for your response....
      Is there a work around other than using the ATM based approach?

      Would the Un-Managed approach not work either?

      If not, is the only method to create a mechanism to move the stop from the strategy?

      Thank you in advance!
      Regards,
      Sammy

      Comment


        #4
        SammyC,

        I am sure there are other unsupported ways to do this, however I must recommend that you would use ATM strategies.

        Please let me know if I may assist further.
        Adam P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        656 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        371 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        109 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        574 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        579 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X