OPEN-SOURCE SCRIPT

Linear Regression Channel - Auto Volume Based

28 828
Based on oryginal TV indicator BUT with a little twist. ;)

I really like the regression channel - but the problem is that the length needs to be always manually adjusted.
In this script I try to solve this issue.

This is modified version on TV indicator - Linear Regression Channel.

The main difference is that now you don't get static length - it is automatically adjuested to the recent price action (determined by highest volume in last 300 bars).

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.