OPEN-SOURCE SCRIPT

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).
autochannelchanneltrendregression-trend-channelTrend AnalysistrendfollowingVolume

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer