PineRadar
signalFree· by LuxAlgo

Nadaraya-Watson Envelope

Kernel regression envelope that plots where price 'should' be — and flags when it's stretched too far.

CHART PREVIEW · BTCUSDT · 1hUPDATED 2026-06-22
68.4k67.9k67.4k
BTCUSDT·1h
real TradingView screenshot — Nadaraya-Watson Envelope
— HOW IT WORKS

What Nadaraya-Watson does, and when it works.

The Nadaraya-Watson Envelope uses a kernel regression smoother to draw a non-parametric trend line through price, then adds upper and lower bands at a set distance. Unlike a moving average, the kernel smoother isn't constrained to a fixed lookback — it weights nearby bars more heavily and fits the curve to the actual shape of price action, not a rolling window.

The trading read is straightforward: when price tags the outer band and turns back toward the center line, it is potentially stretched and reversion-prone. The signal fires when the close crosses back inside from outside the band — the so-called 'crossing' alert. Because the curve fits the whole visible range at once, it repaints on the current bar; the previous bars are fixed. This is not a flaw you work around — it is the mathematical property of the estimator. Only act on confirmed (closed) bars.

The LuxAlgo free version on TradingView (search 'Nadaraya-Watson Envelope [LuxAlgo]') is the most widely used implementation. The bandwidth setting (h) controls smoothness: lower values follow price closely with more whip; higher values produce a smoother curve that reacts more slowly. For crypto on 1h–4h, h around 8 is a common starting point. Pair it with a structure or momentum filter — the envelope alone will generate reversals in strong trends that stop you out repeatedly.

— BEST FOR

Where it earns its slot.

cryptosignalmean-reversionswing-trading
— RELATED INDICATORS

If you like Nadaraya-Watson

— APPEARS IN

Rankings featuring this indicator

Not investment advice. PineRadar is an editorial directory — links may be affiliate. Always test indicators on a demo account.