Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Trailing stop - using ATR

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

    Trailing stop - using ATR

    Hi There,

    I'm trying to do an ATM strategy that I can use in both my daily trading and the Strategy builder.

    It should be quite simple but I can't find a way to do so.

    This is the Trailing stop that I tray to do.

    Once I enter short o long the stop loss should be placed at 1.7 x last candle ATR value.
    Then when the price achieves break-even + 0.6 x last candle ATR value the trailing stop is enabled and it should follow the price 0.5 x last candle ATR value.

    Can you give me hand with this?

    Thank you in advance.
    Best Regards
    Carlos

    #2
    Hello Cyanez,

    Thanks for your post.

    An ATM cannot be programmed as you have specified. ATMs can only run with pre-set values.

    The Strategy builder cannot connect with or reference an ATM strategy.

    The strategy builder could be used to create the exits you describe however it will only work with entries made by the strategy itself and not by any manual entries.

    It is possible to use an ATM from a Ninjascript strategy however that will use special ATM methods as found here: https://ninjatrader.com/support/help...gy_methods.htm Again this type strategy could only work with entries that it makes and not manual entries.

    I am not aware of a solution for your specifications (if they include manual entries), you may want to consult with 3rd party programmers, if that is of interest we can provide a link to providers of that service.

    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Hi Paul,

      Thank you for your reply.
      Please, could you let me know how to do it in the Strategy Builder?

      Thank you in advance

      Best Regards
      Carlos

      Comment


        #4
        Hello Cyanez,

        Thanks for your reply.

        Please see these examples by my colleague Chelsea that demonstrates a custom trailing stop as well as a breakeven stop that you can base your work on. on. https://ninjatrader.com/support/foru...rategy-builder

        You may want to review the Strategy Builder webinar recording here: https://www.youtube.com/watch?v=HCyt...We0Nf&index=11
        You can find further examples of condition in the help guide here: https://ninjatrader.com/support/help...gy_builder.htm

        Please note that we do not provide custom strategy code building. If you would like a strategy created for you, we can provide references to 3rd party coders who can provide that service..
        Paul H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by GussJ, 03-04-2020, 03:11 PM
        15 responses
        3,270 views
        0 likes
        Last Post xiinteractive  
        Started by Tim-c, Today, 02:10 PM
        1 response
        8 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by Taddypole, Today, 02:47 PM
        0 responses
        2 views
        0 likes
        Last Post Taddypole  
        Started by chbruno, 04-24-2024, 04:10 PM
        4 responses
        51 views
        0 likes
        Last Post chbruno
        by chbruno
         
        Started by TraderG23, 12-08-2023, 07:56 AM
        10 responses
        403 views
        1 like
        Last Post beobast
        by beobast
         
        Working...
        X