small update: added ability to setup stage 2 length period.
Linear regression bands is constructed by using linear regression curve +/- ATR, for the lower and upper bounds respectively. One advantage of linear regression bands, compared to bollinger bands, is that this indicator is not a lagging indicator.
Script which calculates the linear regression slope, giving an idea where enter or exit in a market position. Please if anybody have suggestions, let me know.
The Linear Regression Slope is based on the Curve. List of All my Indicators - www.tradingview.com