B3 Least Squares Regression or "LSR" is very similar to the mid-line at the end of a linear regression channel, except that in a linear regression you cannot see the history of the regression well. There is also the linear regression and least squares curves in some platforms, and this would also be a similar indicator. The smoothness of my indicator and the...
This script has the same working behind it except for some minor tweaks.
These tweaks enable the script to generate more signals than the previous version but with a loss of 4% accuracy.