Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

Regression Channel with variable polynomial degree - indicator for MetaTrader 5

graziani
Published by:
l3chat
Views:
20713
Rating:
(32)
Published:
2020.03.22 17:03
Updated:
2022.07.07 22:22
i-Regr.mq5 (10.6 KB) view
i-Regr-2.0.mq5 (12.96 KB) view
i-Regr-2.10.mq5 (13.82 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

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.

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




Stochastic MACD Stochastic MACD

Stochastic MACD

Copy Tick and History From MT4 to MT5 real time. Copy Tick and History From MT4 to MT5 real time.

You can copy the ticks and history from the MetaTrader 4 to MetaTrader 5

Demark Trendlines Demark Trendlines

Demark Trendlines from Demark Lines for Mt5

RSI with BB RSI with BB

RSI with Bollinger Bands calculated on it