Skip to content
All library documents

How Linear and Polynomial Regression Channels Set Their Width

Article MQL5 code base

Summary

This brief indicator description explains regression channels built around a fitted price trend. In the linear version, two parallel boundaries sit above and below the regression line. Their offset is set by the largest deviation of closing prices from that line, giving the channel a width tied to observed price dispersion over the fitting interval. The page also identifies quadratic, or parabolic, and cubic regression channel variants, which fit higher-order curves rather than a straight trend.

The document provides a conceptual description, not a trading strategy or empirical evaluation. It does not explain the fitting window, how channel signals might be interpreted, or whether the boundaries are recalculated as new data arrives. No tests or performance results are included, so the indicator’s usefulness for entries, exits, or risk limits cannot be assessed from this material alone. The higher-order variants are named but not explained in comparable detail.

Key ideas

  • A linear regression channel places parallel boundaries around a fitted trend line.
  • The boundary offset is based on the largest closing-price deviation from the regression line.
  • The indicator also includes quadratic and cubic regression channel variants.
  • The description gives no fitting-window guidance or evidence of trading performance.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.