Multi Kernel Regression [ChartPrime]

Published on MillionChart by CryptoKing99.

A trend indicator that draws smoothed price lines using different kernel regression methods. It smooths price data to give a clearer picture of movement and can be tailored in many ways.

Key points:
- Kernel Select offers 17 kernel types, such as Gaussian, Logistic, Cosine and Triangular. Each has its own weight function, which changes how the regression line is calculated.
- Bandwidth controls sensitivity. A low value sticks close to price, while a high value smooths the line more by giving more weight to distant prices.
- Repaint: when on, the estimate is re-computed with the newest data, which is part of how it works. A non-repainting option is included that produces fixed values that do not change after they are plotted.
- Labels mark possible market turn points where direction switches.

Settings:
- Repaint: allow or disallow re-estimation as new data arrives.
- Kernel Select and Bandwidth.
- Source: the price used, normally the close.
- Deviation: the width of the channel around the regression line. Higher widens it and lower narrows it.
- Line style: solid, dotted or dashed.
- Labels and label size.
- Colors for bullish and bearish trends and for text.

Background: kernel regression is a nonparametric method tied to the work of Emanuel Parzen in the 1960s. Unlike linear regression, it assumes no specific functional form, so it can follow complex relationships in data.