OPEN-SOURCE SCRIPT

Linear Average Price

Atualizado
What is "Linear Average Price"?
"Linear Average Price" is both a trend and an overbought oversold indicator .

What it does?
it creates a trendline and trading zones.

How it does it?
To create the trend line, it averages the difference between each data and chooses it as the slope of the line it creates. then it positions this line so that it passes right through the middle of the data at hand. It uses standard deviation to create trading zones.

How to use it?
It can be used both to have an idea about the trend direction and to determine buy-sell zones. You can choose how many candles the indicator will calculate from the "lenght" section. The "range" part is the coefficient of the standard deviation and can be used to expand or collapse zones.




Notas de Lançamento
source added.
Now you can use this indicator with other indicators. All you have to do is to select an indicator from the "source" section, and then if the indicator you selected is in the lower section, then take the "linear average price" indicator into the lower section.
rsi with linear average price: captura
macd with linear average price:captura
default value is set to 200.
buysellzonebuysellzonesLinear RegressionoverboughtoversoldtrendTrend Analysistrendlinesettrendtrading

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?

Aviso legal