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

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 Kaledus, Today, 01:29 PM
              1 response
              7 views
              0 likes
              Last Post NinjaTrader_Jesse  
              Started by frankthearm, Yesterday, 09:08 AM
              13 responses
              45 views
              0 likes
              Last Post frankthearm  
              Started by PaulMohn, Today, 12:36 PM
              2 responses
              16 views
              0 likes
              Last Post PaulMohn  
              Started by Conceptzx, 10-11-2022, 06:38 AM
              2 responses
              55 views
              0 likes
              Last Post PhillT
              by PhillT
               
              Started by yertle, Yesterday, 08:38 AM
              8 responses
              37 views
              0 likes
              Last Post ryjoga
              by ryjoga
               
              Working...
              X