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.
    DierkNinjaTrader Customer Service

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

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by SmartArtsStudio, Yesterday, 09:41 PM
              1 response
              8 views
              0 likes
              Last Post NinjaTrader_Jason  
              Started by Lumbeezl, Today, 01:20 AM
              0 responses
              4 views
              0 likes
              Last Post Lumbeezl  
              Started by fawzanalim, Yesterday, 05:59 PM
              1 response
              15 views
              0 likes
              Last Post NinjaTrader_Jason  
              Started by JuanPabloQuevedo, Yesterday, 05:27 PM
              1 response
              7 views
              0 likes
              Last Post NinjaTrader_Jason  
              Started by StevenNelson, Yesterday, 03:24 PM
              1 response
              7 views
              0 likes
              Last Post NinjaTrader_Jason  
              Working...
              X