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 ghoul, Today, 06:02 PM
              0 responses
              4 views
              0 likes
              Last Post ghoul
              by ghoul
               
              Started by Barry Milan, Yesterday, 10:35 PM
              6 responses
              18 views
              0 likes
              Last Post Barry Milan  
              Started by DanielSanMartin, Yesterday, 02:37 PM
              2 responses
              13 views
              0 likes
              Last Post DanielSanMartin  
              Started by DJ888, 04-16-2024, 06:09 PM
              4 responses
              13 views
              0 likes
              Last Post DJ888
              by DJ888
               
              Started by terofs, Today, 04:18 PM
              0 responses
              12 views
              0 likes
              Last Post terofs
              by terofs
               
              Working...
              X