Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

TrailStop Strategy builder

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

    TrailStop Strategy builder

    Hi, how can setup Trails stop in Strategy builder with similar functions the ATM? Example move it to break even each number of specific tics in price advance, or trail stop only move each number of specific tics in price advance
    Thanks

    #2
    Hello andarbe,

    Thank you for the post.

    This is generally a concept that is best left for manual coding as this does require the use of variables and additional logic. This would also not be as accurate in the builder because you are unable to access the individual average entry price of your entry and instead have the whole position average price.

    Another problem with this in the builder specifically will be keeping the stop order active while updating it. because the builder uses the Managed Approach and you are unable to set LiveUntilCancelled on the orders, any condition you create to trail needs to become true on every bar for the order to remain uncancelled. The Set methods in the targets section do not apply to this rule which is why they are able to stay active.

    If you would like to recreate ATM logic specifically, it may be suggested to instead manually code a strategy and use the ATM methods specifically. In a NinjaScript strategy, you can combine ATM strategies to manage targets from strategy submitted entries. The SampleATMStrategy that comes with NinjaTrader shows the syntax required, unfortunately, this is not available in the builder.


    I look forward to being of further assistance.

    Comment


      #3
      ok, thanks for reply

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      88 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      134 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      68 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      119 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      69 views
      0 likes
      Last Post PaulMohn  
      Working...
      X