Linear Regression (Log Scale)

This code is a slightly modified version of Tradingviews' built-in "linear regression" script which can be correctly plotted on logarithmic charts.

Release Notes: V2: Float numbers can be assigned to deviation value.
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.

Want to use this script on a chart?


Hi, I like very much this indicator but I would like to have Multi time frame choice -> Source Regression from a different Chart.
I would really appreciate if you can add it.
+1 Reply