Regression Channel with variable polynomial degree – indicator MetaTrader 5

07.07.2022
V.2.10

  • added extrapolation


17.04.2020
Updated the indicator to the version 2.0.

Changes:

  • greatly improved calculation accuracy,
  • added trend colors

V1.2
A quick port for MT5.

Real authors: 
original by Boris: https://www.mql5.com/en/code/8417 
V1.1 by graziani: https://www.mql5.com/en/code/11749

  • i-Regr: Polynomial Regression Channel consists of two parallel lines, equidistant up and down from the line of polynomial regression trend. The distance between frame of the channel and regression line equals to the value of maximum close price deviation from the regression line.
  • e-Regr: (work in progress) MetaTrader Expert Advisor e-Regr based on Regression Channel MetaTrader Indicator. Trade signals: If price lower than under line – Buy, If price bigger than upper line – Sell, TakeProfit by average line.

Screenshot an hour later:

The indicator is a great tool to talk about statistics of historical data.

Alternative:  Exp_BuySell - EA MetaTrader 5

The right edge history (blue lines) is not that convincing:


📈 ROBOTFX MetaTrader Expert Advisors and Indicators to maximize profits and minimize the risks