Fuwn

Multi-Optimized Linear Regression Channel

Fuwn Updated   
A take on alexgrover's Optimized Linear Regression Channel script which allows users to apply multiple linear regression channel with unique multiplicative factors.

Multiplicative Factors

Adjust the amount of channels and multiplicative factors of existing or additional channels using the "Mults" input.

  • An input of "1" creates a single linear regression channel with the multiplicative factor of one.
  • An input of "4" creates a single linear regression channel with the multiplicative factor of four.
  • An input of "1,4" creates two linear regression channels with multiplicative factors of one and four.
  • An input of "1,2,3" creates three linear regression channels with multiplicative factors of one, two, and three.
Release Notes:
Remove a debug label on lines 179 through 181.

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.

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.

Want to use this script on a chart?