OPEN-SOURCE SCRIPT

One Dimensional Parametric Kalman Filter

A One Dimensional Kalman Filter, the particularity of Kalman Filtering is the constant recalculation of the Error between the measurements and the estimate.This version is modified to allow more/less filtering using an alternative calculation of the error measurement.

Camparison of the Kalman filter Red with a moving average Black of both period 50

snapshot

Can be used as source for others indicators such as stochastic/rsi/moving averages...etc

For any questions/suggestions feel free to contact me

filterfilteringiirkalmanMoving AveragessmoothsmoothersmoothingtrendTrend Analysis
alexgrover
Wizard
Check out the indicators we are making at luxalgo: tradingview.com/u/LuxAlgo/

Open-source script

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer