• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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.
    JesseNinjaTrader Customer Service

    Comment


      #3
      ok, thanks for reply

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by seagraph, Today, 03:27 PM
      0 responses
      11 views
      0 likes
      Last Post seagraph  
      Started by dedouglas, Today, 02:54 PM
      1 response
      10 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by elkhatabi, 08-01-2019, 06:36 PM
      5 responses
      52 views
      0 likes
      Last Post NinjaTrader_RyanL  
      Started by mr_trade, Today, 01:01 PM
      4 responses
      17 views
      0 likes
      Last Post mr_trade  
      Started by Renorail, Today, 12:31 PM
      1 response
      12 views
      0 likes
      Last Post NinjaTrader_PaulH  
      Working...
      X