OPEN-SOURCE SCRIPT

Linear Regression Trend bands

9 647
code from linear regression used
Linear Regression Trend Channel


So it just to make bands from it
uptrend blue color , down trend red color
I suggest you try to fix length to best optimum ( I put it on 200, but other length may be better)

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.