Watch how to download trading robots for free
Find us on Facebook!
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

i-Regression Channel - indicator for MetaTrader 5

Published by:
Nikolay Kositsin
Views:
29385
Rating:
(42)
Published:
2011.11.09 16:59
Updated:
2016.11.22 07:32
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Real author:

kharko

i-Regression Channel generates regression channel.

Linear regression channel consists of two parallel lines located at the equal distance from the linear regression trend line. The distance between the channel borders and the regression line is equal to the value of the highest close price deviation from the regression line.

The indicator is implemented in two versions:

  • i-Regr_Channel_Time.mq5 - this indicator calculates the channel from the date fixed in the input parameters;
  • i-Regr_Channel_Bars.mq5 - this indicator calculates the channel from the number of bars fixed in the input parameters.
Indicators input parameters:
  • degree - degree of regression, changes from 1 to 61;
  • kstd - regression channel width;
  • data - channel calculation start date;
  • CountBars - the number of bars for the channel calculation;
  • Applied_price - applied price;
  • shift - the channel horizontal shift in bars.

This indicator was first implemented in MQL4 and published in Code Base at mql4.com 27.02.2009.

Linear Regression Channel (degree = 1):

Regression Linear Channel (degree = 1)

Square (Parabolic) Regression Channel (degree = 2):

Square (Parabolic) Regression Channel (degree = 2)

Cubic Regression Channel (degree = 3):

Cubic Regression Channel (degree = 3)

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/547

Hull Moving Average (HMA) Hull Moving Average (HMA)

Hull Moving Average (HMA) that can change its color.

CyberCycle CyberCycle

Cyber Cycle high-frequency filter.

Mikahekin Mikahekin

Mikahekin can be called a complete analytical block rather than just an indicator. The color of bars shows a trend direction and their height indicates a trend power. Blue and magenta dots show trailing-stop levels for long and short positions, respectively.

CG Oscillator CG Oscillator

CG Oscillator basic and signal lines crossing generates buy and sell signals.