OPEN-SOURCE SCRIPT

AWR_Oscillateur de Déviation

110
This indicator calculates linear regression index according to several configurable periods.
There are a total of eight configurable periods.
Each time, the indicator will calculate for each specified range the best linear regression line & then it will plot it as an oscillator.
For example, if the price is at 2 standard deviation of his linear regression line, it will plot it at 2 on the graph. etc...

It will currently be configured by default between 0 and 5000 UT, which provides both a short-term and a very long-term view.
You can set a specific color for each linear regression index.

As a reminder, the linear regression line is based on the least squares method, meaning: the more the price deviates from its regression line, the more statistically likely it is to return to its regression line. From two standard deviations or minus two standard deviations, it is generally statistically proven that we will trend towards the regression line over time.

Here are some key applications:

1. Trend Identification – you can use it to identify the general direction of each period by analysing the slope of linear regression index

2. Support and Resistance Levels – Regression channels help traders identify support and resistance zones, providing insight into optimal entry and exit points in a trend.

3. You can also use the short period linear regression index vs the long period linear regression index to identify important pivot points.

I've added red & blue color to help to identify excess points. Be careful, an excess can be more excessive than expected... ;-)

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.