OPEN-SOURCE SCRIPT
Linear Regression back

this is a linear regression type of trend line. so we have two linear regressions (the one as lines is current with value in red)
the dashed is the one based on starting point in the past (yellow value)
by this way we can make a trend line type that based on linear regression and not in the regular way based on high and low
crossing any of the backward linear regression or trend line regression show a signal . cross up is green triangle. cross down is red triangle.
so in basic it a linear trend line type of indicator
4 hour

1 hour

the dashed is the one based on starting point in the past (yellow value)
by this way we can make a trend line type that based on linear regression and not in the regular way based on high and low
crossing any of the backward linear regression or trend line regression show a signal . cross up is green triangle. cross down is red triangle.
so in basic it a linear trend line type of indicator
4 hour
1 hour
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.