Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Twitter !
Rejoignez notre page de fans
Un script intéressant ?
Poster un lien vers celui-ci -
laisser les autres l'évaluer
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
Indicateurs

Linear Regression Channel - indicateur pour MetaTrader 5

Vues:
19621
Note:
(33)
Publié:
2011.01.07 10:22
Mise à jour:
2016.11.22 07:32
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

The indicator plots a channel using the linear regression model: y=b+a*x.

When calculation of regression coefficients (a and b) it uses only completed bars. The number of bars should be greater than 2 (and less than total bars in history-1), it is specified in InChPeriod input parameter. The indicator values for the last (uncompleted) bar is calculated using the values of calculated regression coefficients.

It's assumed, that:

  • not less than 68.26% of price values are located between the "Up" and "Down" lines.
  • not less than 95.44% of price values are located between the "High" and "Low" lines.

The recalculation of the regression coefficient is performed when total bars in the history has changed, for example, for the case of a new bar.

LRChannel (Linear Regression Channel) indicator

Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/249

ZigzagColor_Channel ZigzagColor_Channel

The ZigzagColor_Channel plots a channel by connecting the ZigZag peaks and ZigZag bottoms.

Grr-al Grr-al

The Expert Advisor is profitable only if the "Open prices" only or "1 minute OHLC" modes used in Strategy Tester.

MQL5 Wizard - Trade Signals Based on Price Crossover with Moving Average Indicator MQL5 Wizard - Trade Signals Based on Price Crossover with Moving Average Indicator

Trade signals based on price crossover with moving average indicator (CSignalMA from MQL5 Standard Library) is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.

MQL5 Wizard - Trade Signals Based on Three Moving Averages MQL5 Wizard - Trade Signals Based on Three Moving Averages

Trade signals based on three moving averages is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.