OPEN-SOURCE SCRIPT
Updated

HL Regression

69
Linear Regression on two intervals. Analysis is on the high and low relative to an SMA for the specific number of minutes look back. Importantly the analysis is locked in no matter your visual timeframe. The number of minutes determines the analysis not the number of candles.
Release Notes
clean up code

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.