All indicators

Nadaraya-Watson Smoothers

By LuxAlgoAug 24, 2021

Static chart image

Nadaraya-Watson Smoothers runs Gaussian kernel regression over price, so smoothness comes from a bandwidth parameter rather than a lookback length. A single toggle switches between two estimators: a causal endpoint version that behaves like a conventional moving average, and a repainting version that re-fits its whole history to expose the underlying price path and stamp every change of direction.

How to Trade the Nadaraya-Watson Smoothers?

  • Endpoint mode rising or falling: with Repainting Smoothing off, an ascending smoother suggests an uptrend and a descending one a downtrend, read exactly as you would a moving average.
  • Triangular labels: in repainting mode, labels mark each point where the estimator turns, framing candidate tops and bottoms against the actual price series.
  • Bandwidth as the lens: raise it to study longer-term structure; lower it to follow local swings.

Because the repainting fit re-estimates earlier points once newer bars exist, recent labels can resettle while data is still arriving. Several may print in real time before the latest one holds. Treat that mode as an analysis surface for trend structure and turning points, and lean on the endpoint mode whenever you need output that never rewrites itself.

Nadaraya-Watson Smoothers Settings

  • Bandwidth: width of the Gaussian kernel: larger values spread weight across more bars for a smoother, flatter estimate, while very small values hug price until the output is nearly raw.
  • Src: the price source fed to the kernel regression.
  • Repainting Smoothing: enables the two-sided repainting estimator; disabled, the indicator plots the causal endpoint Nadaraya-Watson estimate.

Frequently Asked Questions

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5
Original indicatorBuilt in-house by LuxAlgo

The Library is free. Quant makes it yours.

Pull any concept or indicator into Quant: rebuild it, retune it, or turn it into a backtested strategy of your own.