OPEN-SOURCE SCRIPT
Aggiornato 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!
Note di rilascio
Shortened the code.Now using arrays.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
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.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
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.