Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Average True Range Trailing Stop indicator needed.

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

    Average True Range Trailing Stop indicator needed.

    Could someone convert the ATR Trailing Stop indicator from NT 6.5 to NT 7.0? Please see attached file for 6.5 version. Thanks for the help.
    Attached Files

    #2
    Please give the one attached a try, works well here for me.
    Attached Files

    Comment


      #3
      Hello!

      I've been trying your excellent Trailing stop indicator.
      I have, however, encountered a problem.

      In my strategy, I want a trailing stop that always is below the close price.
      And the trailing stop in the indicator is sometimes above the price curve, this gives me some strange stop-exits.

      Is there a way to do this in the strategy wizard, or do I have to code in the difference between the close and trailing stop and subtract that from the close price every day?

      I am kind of new to Ninja Trader, so forgive me if this is a stupid question.

      Comment


        #4
        bebjo, if you're trying to find a difference in prices, you will need to move to actual code. The strategy wizard is not able to work with data like that. If you would like additional assistance with the actual indicator itself, you will have to contact the author of it.
        AustinNinjaTrader Customer Service

        Comment


          #5
          Thanks Austin,

          I will edit the code. Just wanted to do as much as I could in the wizard.

          Comment


            #6
            Originally posted by bebjo View Post
            In my strategy, I want a trailing stop that always is below the close price.
            And the trailing stop in the indicator is sometimes above the price curve, this gives me some strange stop-exits.
            The way that an ATR Trailing stop works is that, based on the settings, the line will be sometimes be above and sometimes below price. It's a bit like a bias indicator in that way.

            If you find it gets "flipped" sometimes when you don't want it to, it's a matter of tweaking the indicator parameters to better fit your symbol/interval.

            Daniel
            neoHarmonics.com

            Comment


              #7
              GM Bertrand,
              is there a way to change the color of the ATR signal when they are above price bar compared to below price bar?

              Comment


                #8
                Hello,

                Yes, you would need to change color of the DrawArrows inside the script.
                This is the last property in the DrawArrow method
                Cal H.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                0 responses
                589 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