• 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 babouin77, Today, 08:37 PM
      0 responses
      1 view
      0 likes
      Last Post babouin77  
      Started by aligator, Today, 03:23 PM
      4 responses
      9 views
      0 likes
      Last Post aligator  
      Started by RtelTrade, Today, 01:27 PM
      1 response
      25 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by RolloHarper, Today, 12:59 PM
      2 responses
      22 views
      0 likes
      Last Post NinjaTrader_Jermaine  
      Started by tvaughan4, Today, 01:02 PM
      2 responses
      32 views
      0 likes
      Last Post tvaughan4  
      Working...
      X