Return a linear regression channel with a window size within the range (min, max) such that the R-squared is maximized, this allows a better estimate of an underlying linear trend, a better detection of significant historical supports and resistance points, and avoid finding a good window size manually. Settings Min : Minimum window size value Max :...

965

Level: 2 Background @pips_v1 has proposed an interesting idea that is it possible to code an "Adaptive Jon Andersen R-Squared Indicator" where the length is determined by DCPeriod as calculated in Ehlers Sine Wave Indicator? I agree with him and starting to construct this indicator. After a study, I found "(blackcat) L2 Ehlers Autocorrelation Periodogram"...

139

Level: 1 Background The R-Squared indicator created by Jon Andersen in "Standard error bands" in the September 1996 STOCKS & COMMODITIES . Function This script fristly creates the coeffR function which is used to produced the R-Squared indicator. The coeffR function is used to calculate the correlation coefficient R. Once I have created and verified the coeffR...

121

Introduction I already mentioned various problems associated with the lsma, one of them being overshoots, so here i propose to use an lsma using a developed and adaptive form of 1st order polynomial to provide several improvements to the lsma. This indicator will adapt to various coefficient of determinations while also using various recursions. More In Depth ...

114

made a quick script to compare r2 correlation coefficient, can change source and correlation component in inputs menu example, here we can see that btc currently has a 0.85 correlation with eth vs usd when using simple moving avg on the daily (above 0.8 is positive correlation. below -0.8 is negitive correlation, and anything in between means there is no...

49

This script was written to calculate the correlation coefficient (Adjusted R-Squared) for one dependent and two independent variables.(3-way) Pearson correlation method was used with exponential moving averages as the correlation calculation method. Use your source ( i use "close" generally ) as the dependent variable. Inspired by this article :...

75

Chande Kroll R-Squared Index script. This indicator was originally developed by Tushar S. Chande and Stanley Kroll (see their book `The New Technical Trader`, Chapter 2: `Linear Regression Analysis`).

150