OPEN-SOURCE SCRIPT
Updated KDE-Gaussian

"In statistics, kernel density estimation (KDE) is a non-parametric way to estimate the probability density function of a random variable."
from wikipedia.com
from wikipedia.com
Release Notes
fixed a issue when using float type observations.added a draw function to draw the KDE graph(you need to see all the bar history to see it, doesnt work for float observations)
Release Notes
removed some redundant parameters, added bandwidth, nstep parameters, the graph looks stepd due to x axis havin interdigit floating numbers so it rounds to nearest causing that effect.Release Notes
improved the kde draw functionOpen-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.