Concept

Polynomial Regression Band

Polynomial Regression Band, also known as end-point polynomial regression, is a Trend concept. The Library holds 1 implementations, each one a working definition you can pull into Quant.

Top Polynomial Regression Band indicators

1 total

What is a Polynomial Regression Band?

A polynomial regression band is a curved channel built by fitting a polynomial to recent prices with least squares, then offsetting the fitted curve above and below by a volatility measure, usually a multiple of the fit's standard deviation or root-mean-square error. Where a linear-regression channel forces a straight line through the window, a polynomial of degree two or higher can bend with the data, so the channel follows curved trends and rounded turns more closely.

Two versions exist. The full-curve version draws the fitted polynomial across the whole lookback and refits on every new bar, so the historical segment moves as data arrives. The end-point version keeps only the newest fitted value per bar, producing a causal line that never redraws (the same idea behind the LSMA, which is the end point of a linear fit). Higher degrees track price more tightly but fit noise and behave erratically near the window's edges, so extrapolating the curve forward is unreliable.

How traders use it

  • As curved dynamic support and resistance: pullbacks toward the lower band in a rising fit, or the upper band in a falling one, are watched for reactions, with band width scaling to how loosely price sits around the curve.
  • As a mean-reversion frame inside the window: price stretched to an outer band is treated as extended relative to the fitted curve, a context read rather than a standalone signal, since strong trends can ride a band for many bars.
  • As a smoother trend proxy: the slope of the end-point line gives a direction filter that picks up curvature sooner than a straight regression line, at the cost of more noise sensitivity as the degree rises.

Related concepts · Channels, lines & geometry

Concept family

Trend

100 concepts mapped · 88 in the Library

Polynomial Regression Band FAQ

Does a polynomial regression band repaint?

The full-curve version does: every new bar refits the polynomial, so the drawn history shifts. The end-point version does not, because each bar keeps only the fitted value plotted when that bar was current. When testing rules built on the band, use the end-point form or evaluate touches only on data that was available at the time.

What polynomial degree should the band use?

Degree two or three covers most charting uses: enough curvature to follow rounded trends without wild oscillation. Higher degrees start fitting the window's noise and swing sharply near its edges, which destabilizes both the curve and its bands. There is no single optimal degree; the choice trades smoothness against responsiveness, so keep it low unless the data clearly bends more.

Build Polynomial Regression Band your way.

Quant writes, tests, and refines it with you — then it runs on LuxAlgo charting or ports to TradingView.