OPEN-SOURCE SCRIPT
Atualizado

Function - Kernel Density Estimation (KDE)

11 182
"In statistics, kernel density estimation (KDE) is a non-parametric way to estimate the probability density function of a random variable."
from wikipedia.com

KDE function with optional kernel:
  • Uniform
  • Triangle
  • Epanechnikov
  • Quartic
  • Triweight
  • Gaussian
  • Cosinus


Republishing due to change of function.
deprecated script:
KDE-Gaussian
Notas de Lançamento
added quartic and triweight kernels.
Notas de Lançamento
  • added placeholder for kernels(logistic, sigmoid, silverman)
  • added kernel calculations for kernel(uniform, triangular, cosine)
Notas de Lançamento
added calculations for kernels(logistic, sigmoid and silverman(Not working atm)
Notas de Lançamento
removed silverman kernel, added highest value index line/label, nearest to 0 index as a dotted gray line.
Notas de Lançamento
added extra stats/visuals to drawing function.

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.