Announcement

Collapse
No announcement yet.

Linear Regression Slope

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Linear Regression Slope

    The attached efs computes the Linear Regression Slope. The parameters Length (10) and Source (Close) can be modified through Edit Studies.
    Also included (and commented) in the script is the provision to retrieve past values of the LRS (maximum lookback is defined by the Length of the LRS). To retrieve these values use aLRS[nn] where nn is the number of bars back (for example aLRS[1] is one bar back, aLRS[8] is eight bars back).
    Alex

    Attached Files
Working...
X