Linear Regression Channel - Auto Volume Based

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).
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.


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.

Want to use this script on a chart?