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
Indicateurs

Ergodic MACD Oscillator Blau_Ergodic_MACD - indicateur pour MetaTrader 5

Vues:
12912
Note:
(17)
Publié:
2011.07.08 12:56
Mise à jour:
2016.11.22 07:32
\MQL5\Include\
MQL5 Freelance Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

Author: Andrey N. Bolkonsky

Ergodic MACD Oscillator by William Blau is described in the book "Momentum, Direction, and Divergence: Applying the Latest Momentum Indicators for Technical Analysis".

  • WilliamBlau.mqh must be placed in terminal_data_folder\MQL5\Include\
  • Blau_Ergodic_MACD.mq5 must be placed in terminal_data_folder\MQL5\Indicators\

Erogdic MACD Oscillator by William Blau

Erogdic MACD Oscillator by William Blau

Calculation:

Ergodic MACD Oscillator is defined as follows:

Ergodic_MACD(price,r,s,u) = MACD(price,r,s,u)
SignalLine(price,r,s,u,ul) = EMA( Ergodic_MACD(price,r,s,u) ,ul)

where:

  • Ergodic_MACD() - Ergodic - MACD(price,r,s,u);
  • SignalLine() - Signal Line - exponentially smoothed moving average EMA(ul), applied to MACD;

In contrast with the standard MACD indicator (it uses the simple moving average), the exponentially smoothed moving average is used in the approach, proposed by William Blau.

Input parameters:
  • graphic plot #0 - Ergodic (moving average convergence/divergence):
    • r - period of the 1st EMA (slow), applied to price (by default r=20);
    • s - period of the 2nd EMA (fast), applied to price (by default s=5)
    • u - period of the 3rd EMA, applied to MACD (by default u=3);
  • graphic plot #1 - Signal Line:
    • ul - smoothing period (signal line), applied to Ergodic (by default ul=3);
  • AppliedPrice - price type (by default AppliedPrice=PRICE_CLOSE).
Note:
  • r>1, s>1;
  • s<r (according to William Blau, there isn't any checks in the code);
  • u>0. If u=1, smoothing is not used;
  • ul>0. If ul=1, the signal and ergodic lines are the same;
  • Min. rates =([max(r,s)]+u+ul-3+1).

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

Moving Averages Convergence/Divergence Indicator Blau_MACD Moving Averages Convergence/Divergence Indicator Blau_MACD

Moving Averages Convergence/Divergence Indicator by William Blau.

Ergodic Mean Deviation Index Oscillator Ergodic_MDI Ergodic Mean Deviation Index Oscillator Ergodic_MDI

Ergodic Mean Deviation Index (MDI) Oscillator by William Blau.

Candlestick Momentum Blau_CMtm Candlestick Momentum Blau_CMtm

Candlestick Momentum Indicator by William Blau.

Candlestick Momentum Index Blau_CMI Candlestick Momentum Index Blau_CMI

Candle Momentum Index (CMI) Indicator by William Blau.