"In statistics, kernel density estimation (KDE) is a non-parametric way to estimate the probability density function of a random variable." from wikipedia.com
Nota Keluaran
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)
Nota Keluaran
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.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publications is governed by House rules. Anda boleh menyukainya untuk menggunakannya pada carta.
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.