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 lightsun47, Today, 03:51 PM
      0 responses
      4 views
      0 likes
      Last Post lightsun47  
      Started by 00nevest, Today, 02:27 PM
      1 response
      8 views
      0 likes
      Last Post 00nevest  
      Started by futtrader, 04-21-2024, 01:50 AM
      4 responses
      44 views
      0 likes
      Last Post futtrader  
      Started by Option Whisperer, Today, 09:55 AM
      1 response
      13 views
      0 likes
      Last Post bltdavid  
      Started by port119, Today, 02:43 PM
      0 responses
      8 views
      0 likes
      Last Post port119
      by port119
       
      Working...
      X