OPEN-SOURCE SCRIPT
Atualizado Tame Polynomial LSMA Estimation

Experimental Script! [Proceed with caution]
Big thanks to alexgrover for his original Polynomial LSMA Estimation script.
I liked the concept and thought about how to make it behave more like a moving average, with less overshoot.
My idea is to use "sigma approximation" to tame the kernel. Hence the name of this script.
Higher "orders" will make the filter stick closer to the price.
You might notice that with an order of 2 or 3, it behaves more like a traditional moving average, with reduced lag.
Note: This is my first publication. I didn't have enough reputation to post images with it.
Once again, much thanks to alexgrover and the TradingView community!
Big thanks to alexgrover for his original Polynomial LSMA Estimation script.
I liked the concept and thought about how to make it behave more like a moving average, with less overshoot.
My idea is to use "sigma approximation" to tame the kernel. Hence the name of this script.
Higher "orders" will make the filter stick closer to the price.
You might notice that with an order of 2 or 3, it behaves more like a traditional moving average, with reduced lag.
Note: This is my first publication. I didn't have enough reputation to post images with it.
Once again, much thanks to alexgrover and the TradingView community!
Notas de Lançamento
Shortened the code.Now using arrays.
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.