OPEN-SOURCE SCRIPT

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!
版本注释
Shortened the code.
Now using arrays.
Moving Averages

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明