TradingView
Gentleman-Goat
17 Th11 2020 00:59

Variable Linear Regression With Pearsons R 

Bitcoin / U. S. DollarKraken

Mô tả

This script allows you to set a variable number of linear regressions with alternating colors you can select. It will have a partner oscillator script shortly so you can see how the different trends change and interact with each other over time.

The script is currently very slow if you set the period for the linear regression too high. I recommend not going past 100. Works very well on the high time frames for this reason.

Anyone that knows of a faster way to run these calculations please let me know!
Bình luận
ncjones30
This is cool.
maroof81
Thanks
UnknownUnicorn6774437
Wonderful talented work! I used to impose regressions with different periods. Now just one script is enough. I am very grateful to you for your excellent work!
jurlvarg
Hi, would you recommend this script over your Linear Regression - Auto Adjust To Ideal Pearson's R (Min & Max)? Thanks.
Gentleman-Goat
@jurlvarg, This script does different things from the other. Once you've identified a specific number that is good for linear regression you can use this to plot only those types of linear regressions, so I would say it's just a 'different' style of tool from the other.
OperatorSoma
Hey there. First of all, I love this script. Lately I'm primarily scalping NQ. I use Jigsaw to execute and primarily work on the DOM, but I have been enjoying this LRC with oscillator combo. I run on 30 sec and can do quite well with it. I am having an issue though. I have set the LRC to 3, but am getting many more plotted on the chart. Ideas?
Gentleman-Goat
@OperatorSoma, Hi there, sorry I did not see your message until now, message me later in chat if you still have the issue and I'll see if I can resolve it. it's probably a setting on the chart version that you have to match to 3 as well. Both the oscillator and the chart have to have the same values to display correctly.
ctannous2134
@Gentleman-Goat, also getting this issue
rhanna
Thanks a lot :)
Thêm nữa