Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Facebook !
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
Vues:
22844
Note:
(41)
Publié:
2010.08.23 15:57
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

This oscillator is MQL5 version of ZeroLag MACD indicator, published in Russian section of MQL4 CodeBase.

This indicator provides a signal few bars earlier, compared with standard MACD and its divirgence is much more clear.

ZeroLag MACD 

Calculation:

ZeroLAG MACD(i) = (2*EMA(Close, FP, i) - EMA(EMA(Close, FP, i), FP, i)) - (2*EMA(Close, SP, i) - EMA(EMA(Close, SP, i), SP, i));

ZeroLAG MACD Signal(i) = 2*EMA( ZeroLAG MACD(i), SigP, i) - EMA(EMA( ZeroLAG MACD(i), SigP, i), SigP, i);

where:

  • EMA - exponential moving average;
  • Close - close price of the bar;
  • FP - period of fast moving average;
  • SP - period of slow moving average;
  • SigP - period of signal moving average.

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

Keywords and aliases of MQL5 Keywords and aliases of MQL5

The MQL5 keywords and aliases for autoreplace are presented.

AlfOs AlfOs

It's an oscillator, similar to OsMA with Variable Index Dynamic Average.

MACD Histogram, multi-color [v04] MACD Histogram, multi-color [v04]

MACD indicator with MACD line, Signal line and multi-color histogram.

MACD Histogram, multi-timeframe, multi-color [v03] MACD Histogram, multi-timeframe, multi-color [v03]

MACD indicator with histogram, can be applied any timeframe (higher or lower than the current chart's timeframe).