TradingView
FractalTrade_
15 Jul 2021 pukul 15.42

Log Scale Linear Regression 

Netflix, Inc.NASDAQ

Huraian

This indicator is basically the standard linear regression but adjusted to be suitable for log scale.
You can use 2 different standard deviation values, choose the data source and lookback length.
The colors are chosen directly on the main menu.

Enjoy!

Nota Keluaran

- Updated to Pine V5
- Indicator now uses interactive mode to select the starting point of the regression
- Added option to change the deviation multiples
- Added option to change line style (solid, dashed & dotted)

Nota Keluaran

-Added option to input non integer deviation multiples (eg. 1.618, 2.5, etc)
-Added option to fill deviations:
https://s3.tradingview.com/snapshots/v/VABgJQiw.png

Nota Keluaran

-Added option to fill channel
Komen
Rgootee
The indicator disappear every time when new bar plot ,what is wrong with it?
unityblue
@Rgootee, & @FractalTrade15: It appears there may be a flaw in the script, or perhaps a change in Pine which caused issues.
When I add this script off a secondary data series (awesome ability!), it seems to have issues if either of the start or end points of the main plot surface are further out.
eg. Main series is ES1!, compared to secondary series & pane of FRED:WPU081. Adding this indicator on second series yields nothing.
If I pick a main ticker with less current data, say SVA, as well as pick a start time in bounds, it works again.
So I imagine either there would be a way to directly reference first/last data... or a seeking function could be coded to find this.
Interestingly, there seems to be no error... just nothing visible.
Otherwise... FANTASTIC! Thanks! I hope TV hires you and pays you to build into their most core functionality. It's ridiculous
Cheers
temel_reis
Brilliant, much appreciated
exactingSeagul45046
Hi, this is great. Would be even better if you can custom select the last bar, just like selecting the first bar. Are you able to code that in?
AMZ2032
Excellent indicator
Are you able to add the Pearson's R to it?
Cheers
Julien_Eche
Hi, very nice job but would be great if that would be able to add different time frames selection...
humbertobc
Hi, this is quite good and something I was looking for, but it does not allow to customize the standard deviation values, I like to see the 0.75SD, 1.5SD and 3SD, instead of the 1SD and 2SD. Would be great if that would be added. It would also be great to customize the lines as dashed or solid.
Lebih