Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Slope of a Line.. On Screen Calculation...

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

    Slope of a Line.. On Screen Calculation...

    Hello,

    Slope is calculated as a ratio of "rise" to "run", or as a fraction ("rise over "run) in which "run" is the horizontal distance and "rise" is the vertical distance. Percent Grade = (Rise/Run)*100...
    Normally the units of measure are normally the same for both the X and Y axis. But as far as solving for the slope of a line in the charts used for trading as such as the charts we use in Ninjatrader. Slope is only a measure of how much a line increases or decreases in over a given range.. Therefore... Slope = Yaxis (ticks)/ Xaxis (bars) or (mins)
    Is this correct..?

    Michael
    Last edited by Mykro; 10-05-2019, 09:19 PM.

    #2
    Hello Michael,

    Thank you for your note.

    Yes, this would use number of bars and amount of price change.

    There is a Slope() method you may be interested in.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thank You Chelsea..!!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      31 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 05-10-2026, 08:12 PM
      0 responses
      21 views
      0 likes
      Last Post CarlTrading  
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      184 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      340 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      264 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X