Linear Reg Line
Author: redliontrader
Creation Date: 9/15/2008 7:08 PM
profile picture

redliontrader

#1
I want to take 50 Closes and draw a linear regression line through them.

The first point on the line is the LinearRegressionValue or 50 -> 1. Then point is the LinearRegressionValue of 1->50.
I then want to plot the StDeviations of LR for this line.

The moving LR functions give me the endpoint, but not the start point.

Any suggestions?
profile picture

Eugene

#2
Hope this example could be helpful:
CODE:
Please log in to see this code.
profile picture

redliontrader

#3
Thank you.

Looks good.

profile picture

cs96ai

#4
This is a great post!
Thanks!
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).