Concept
LOESS Smoothing
LOESS Smoothing is a Statistics concept. The Library holds 3 implementations, each one a working definition you can pull into Quant.
Top LOESS Smoothing indicators
3 total
What is LOESS Smoothing?
LOESS (locally estimated scatterplot smoothing) fits a smooth curve through noisy data one point at a time. For each evaluation point it takes a neighborhood of nearby observations, fits a low-degree polynomial (locally linear in the original LOWESS, often quadratic in LOESS) by weighted least squares with nearer points weighted more heavily (a tricube weighting is the classic choice), and records the fitted value at that point. Repeating this across the series traces a flexible curve with no assumed global shape. The method comes from statistician William Cleveland; its span parameter, the fraction of data used in each local fit, controls smoothness.
On a chart, LOESS behaves like a trend curve that bends with the data, where a single linear regression forces one straight line; kernel regression is its close cousin, built from weighted averages rather than local fits. The catch is the right edge: the newest bars have no future neighbors, so their fit is one-sided and gets revised as bars arrive. Historical values look excellent precisely because they were smoothed with hindsight.
How traders use it
- As a flexible trend baseline: the curve's direction and bend give a visual trend read, and subtracting it from price yields a detrended oscillator of local deviations.
- As the centerline of a channel: offsetting the curve by a multiple of the residual standard deviation frames stretch and reversion around the local fit.
- As a smoother for indicator inputs where fixed-length moving averages feel too rigid, accepting the edge instability that comes with recomputation.
Related concepts · Regression & filtering
Concept family
Statistics
45 concepts mapped · 37 in the Library
LOESS Smoothing FAQ
What is the difference between LOESS and LOWESS?
LOWESS is the original locally weighted scatterplot smoother, which fits local straight lines. LOESS is the later generalization that allows higher-degree local polynomials, commonly quadratics. Both come from William Cleveland's work, and in charting practice the names are used almost interchangeably for the same idea: fit locally, weight by distance, connect the fitted values.
Does a LOESS curve repaint?
The right edge does. Recent points are fit with one-sided neighborhoods, so as new bars arrive the latest segment of the curve is recomputed and can shift, while values deep in the sample are stable. Treat the newest stretch as provisional, and apply repaint-safe engineering habits, such as confirmation delays and evaluating on closed data, before acting on it.
Build LOESS Smoothing your way.
Quant writes, tests, and refines it with you — then it runs on LuxAlgo charting or ports to TradingView.


