Skip to content
All library documents

Polynomial Regression Channels and Their Deviation-Based Bands

Article MQL5 code base

Summary

This document describes an indicator that fits a polynomial regression trend to historical prices and draws a channel around it. The upper and lower lines are parallel to the regression curve, with their distance set by the maximum closing-price deviation from that curve. The notes mention updates to calculation accuracy, trend coloring, and an added extrapolation feature, and characterize the indicator as a way to discuss statistics in historical data.

A related Expert Advisor concept is outlined: buy below the lower channel, sell above the upper channel, and take profit at the average regression line. However, the text labels that trading component as a work in progress and gives no backtest or evidence of profitability. It also cautions that the plotted history at the right edge is not convincing. The material therefore describes an indicator and a tentative signal idea, while leaving validation and practical trading rules unresolved.

Key ideas

  • The channel surrounds a polynomial regression trend with parallel bands.
  • Band distance is based on the largest closing-price deviation from the regression line.
  • The indicator includes trend coloring and extrapolation features according to its update notes.
  • A proposed Expert Advisor buys below the lower band and sells above the upper band, targeting the regression line.
  • The trading concept is unfinished, and the document questions the reliability of the plotted right edge.

Tags

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