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 samish18, Today, 12:20 PM
      0 responses
      3 views
      0 likes
      Last Post samish18  
      Started by thread, 04-15-2024, 11:58 PM
      3 responses
      48 views
      0 likes
      Last Post Georg1o
      by Georg1o
       
      Started by leojimenezp, 04-20-2024, 05:49 PM
      4 responses
      47 views
      0 likes
      Last Post leojimenezp  
      Started by nicthe, Today, 09:24 AM
      1 response
      5 views
      0 likes
      Last Post nicthe
      by nicthe
       
      Started by samish18, Today, 10:13 AM
      0 responses
      6 views
      0 likes
      Last Post samish18  
      Working...
      X