TradingView
Gentleman-Goat
17 de Nov de 2020 03:23

Variable Linear Regression With Pearsons R Oscillator 

Bitcoin / U. S. DollarKraken

Descrição

This is the Oscillator that is meant to go with the Variable Linear Regression With Pearsons R Script. Set this to match the settings you have on the other script.

To use this, you want to do trades something like this:

The bottom -0.80 (green line) means that the trend is very strong in the upward direction. This almost always means it's about to finish its trend soon and reverse the other direction. If you see the other linear regression lines also coincide with this result it would best to get ready to reverse your position and do a short once some other indicators show you it is turning the other direction in addition to this.

The reverse for longing would be the case after a large downtrend and the 0.80 line (red line) is touched by many of the linear regressions, usually it means the downtrend is ending and there is a good buy opportunity soon.

This is called a variable linear regression systems because you can set as many variable linear regressions as you want. I have capped it at 10 but you can modify the code to raise this if really necessary. Every color is customizable for each different linear regression trend.
Comentários
gbkee
@x11joe, thank you Sir you are awesome!
akpathak4u2
good morning Sir
thanx for such a typical informative indicaator.
by backtesting ,i could understand the red and green lines logic,
but Sir ,please tell me what is the roll of blue line.
hv a nice day.
regds
akpathak
Gentleman-Goat
@akpathak4u2, The blue line is simply a color you set for a lookback time period, you can change the color or even add even more linear regressions in parallel. The limit is up to 10, although it does get kind of hard to follow after 3.
hoamyw02
Great! Tks so much!
longterminvesment
thank you sir for the script, very useful
Gentleman-Goat
@longterminvesment, Sure thing :).
RafaelZioni
great stuff:)
Gentleman-Goat
@RafaelZioni, thanks :)
Mais