maverickmitch
Member
Using the LinearRegCurve study, I want to calculate the r-squared and slope at each bar.
plot LinReg = Inertia(close, 21);
I want to have three plots that are curves:
1. Linear regression curve
2. Slope of the linear regression line
3. R-squared of linear regression line
Any math peeps able to solve this?
Greatly appreciated,
Mitch
plot LinReg = Inertia(close, 21);
I want to have three plots that are curves:
1. Linear regression curve
2. Slope of the linear regression line
3. R-squared of linear regression line
Any math peeps able to solve this?
Greatly appreciated,
Mitch