Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

'Stops & Targets' missing from the Condition Builder?

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

    'Stops & Targets' missing from the Condition Builder?

    I was wondering why the 'Stops and Targets' section of order management is available from 'Insert Action' in the NinjaScript editor, but not from the condition builder in the strategy wizard?

    Considering the lack of ATM support in the strategy wizard, I really think being able to modify stops and targets vis a vis the condition builder would really make life a lot easier. For example, when the unrealized PnL target is reached, move the stop to break even, or when the ADX crosses below 25 tighten the stop etc, there are countless ways this could be useful...

    I realize there is a 'Stops and Targets' screen at the last stage of the wizard, but it lacks the flexibility of being condition based.

    NinjaScript Editor


    Strategy Wizard

    #2
    Through the Strategy Wizard you can easily just use ExitLongStop() for your stop orders.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      True enough.

      I just noticed the discrepancy between one part of the program and another, which often equals missing functionality, but I guess it makes no difference in this case.

      Thanks.

      Comment


        #4
        You are comparing apples to oranges.

        - In the editor, the dialoge window inserts pre-defined code wherever your cursor in the editor sits.

        In the Strategy Wizard, the same stops/targets methods are available in the second to last wizard screen. They can't be part of the "actions" since these methods were designed to go in the Initialize() method. The resulting code under "Actions" goes is executed within OnBarUpdate().
        RayNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        591 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        342 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        103 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        555 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        552 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X