• 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

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
    BertrandNinjaTrader Customer Service

    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 Emma1, Today, 02:42 PM
                1 response
                15 views
                0 likes
                Last Post NinjaTrader_DrewO  
                Started by fx.practic, Today, 03:10 PM
                1 response
                5 views
                0 likes
                Last Post NinjaTrader_Jesse  
                Started by jertrade, Today, 02:50 PM
                2 responses
                10 views
                0 likes
                Last Post jertrade  
                Started by RedDuke, Today, 01:59 PM
                1 response
                18 views
                0 likes
                Last Post NinjaTrader_Kate  
                Started by MarianApalaghiei, Today, 01:18 PM
                1 response
                15 views
                0 likes
                Last Post NinjaTrader_PatrickG  
                Working...
                X