Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2008.09.12 06:16
Experts

Metatrader Expert Advisor e-Regr and Metatrader Indicator i-Regr - expert for MetaTrader 4

| English 日本語 Русский 中文 Español Deutsch Português

Views:
81044
Rating:
votes: 32
e-Regr.mq4 (10.13 KB)view
i-Regr.mq4 (4.52 KB)view

Regression Channel

Linear Regression Channel consists of two parallel lines, equidistant up and down from the line of linear 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.

Linear Regression Channel


Second-power (Parabolic) Polynomial Regression Channel


Third-power Polynomial Regression Channel

MetaTrader Indicator i-Regr Setting

Degree - power of Polynomial : 1- linear; 2- parabolic; 3- Third-power





MetaTrader Expert Advisor e-Regr based on Regression Channel MetaTrader Indicator

If price lower than under line - Buy
If price bigger than upper line - Sell

TakeProfit by average line.
Stop Loss = 0 but you can set Stop Loss
Trend Protection: If D1 candle (for previously day) bigger than 150 pips – trade prohibition and close all opened position.


MetaTrader Expert Advisor e-Reg Setting


Warning: The Expert advisor e-Regr was not adjusted and was not optimized.



Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/8417

Open SELL Open SELL

The script opens a SELL position with the specified part of the FreeMargin.

Ergodic Oscillator Ergodic Oscillator

Indicator Ergodic Oscillator.

StopLossMove StopLossMove

The script moves the StopLoss at the Distance from the market.

CloseAllBuySell CloseAllBuySell

The script closes all opened Buy and Sell positions in the active window.