Skip to content
All library documents

Polynomial Regression Channels and Their Adjustable Parameters

Article MQL5 code base

Summary

This document describes a chart indicator that draws a channel using polynomial regression. It identifies four controls: the number of bars used, the polynomial power that adjusts sensitivity, the channel deviation that sets the distance from the center line to its borders, and the price input used in the calculation. Examples compare settings with powers of 2, 4, and 6, illustrating that power is intended to affect the channel’s response.

The description gives no formula, chart examples in text, trading rules, or performance results. It therefore serves as a brief guide to the indicator’s inputs rather than evidence that the channel predicts prices or supports a profitable strategy. Readers would need to inspect the implementation and test parameter choices on relevant instruments and timeframes, accounting for overfitting and changing market conditions.

Key ideas

  • The indicator plots a channel based on polynomial regression.
  • Length sets how many bars are included in the channel calculation.
  • Power adjusts the indicator’s sensitivity, while deviation controls channel width.
  • The applied price setting specifies the price series used in the calculation.

Tags

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