Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Slppe/Angle of indicator

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

    Slppe/Angle of indicator

    I would like to calculate the slope on an indicator for example Linear Regression line or MACD fast line. I'm an ensign user and we have a function to do this there, is there a methodwhich let you calculate this value in NT?

    Thanks.

    #2
    imported post

    Sorry no. You might want to take a look a the LinReg indicator implementation and code something along these lines.

    Comment


      #3
      imported post

      A Slope() method will be available in the next update.

      Ray
      RayNinjaTrader Customer Service

      Comment


        #4
        Just curious when the next update will be available? Thanks.

        Comment


          #5
          Likely the week after this coming week.
          RayNinjaTrader Customer Service

          Comment


            #6
            NinjaTrader_Ray, could you help us add (code) a slope to your Linear Regression overlay Indicator. I'm not programmer so I need help. I would like to be able to adjust the slope based on the average close of the last few bars, say 3 or 5 or even 10 or more bars back. Then display this slope number in the right side margin so its easy to see.
            If its not to hard maybe you could show us how it could be added to a sma and a ema indicator as well.

            Thanks

            Comment


              #7
              Sorry, you only could achieve that on coding a custom indicator using the Slope() method provided. In case you need support on coding a NinjaScript indicator you consider contacting a NinjaTrader consultant: http://www.ninjatrader.com/webnew/pa..._education.htm

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              628 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              361 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              105 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              564 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              568 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X