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

Composite High/Low Momentum Blau_HLM - indicateur pour MetaTrader 5

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

Author: Andrey N. Bolkonsky

The Composite High-Low Momentum is described by William Blau 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_HLM.mq5 must be placed in terminal_data_folder\MQL5\Indicators\

Composite High-Low Momentum Indicator by William Blau

Composite High-Low Momentum Indicator by William Blau

Calculation:

The Composite High/Low Momentum is calculated as follows:

HLM(q) = HMU(q) - LMD(q)

where:

  • q - number of bars, used in calculation of Up Trend Momentum and Down Trend Momentum;
  • HMU(q) - Up Trend Momentum (q bars);
  • LMD(q) - Down Trend Momentum (q bars).

The smoothed Composite High/Low Momentum is calculated as follows:

HLM(q,r,s,u) = EMA(EMA(EMA( HLM(q) ,r),s),u) = EMA(EMA(EMA( HMU(q)-HMD(q) ,r),s),u)

where:

  • q - number of bars, used in the calculation of Up Trend Momentum and Down Trend Momentum;
  • HMU(q) - Up Trend Momentum (q bars);
  • LMD(q) - Down Trend Momentum (q bars);
  • HLM(q)=HMU(q)-LMD(q) - Composite High/Low Momentum;
  • EMA(HLM(q),r) - 1st smoothing - EMA(r), applied to the Composite High/Low Momentum;
  • EMA(EMA(...,r),s) - 2nd smoothing - EMA(s), applied to result of the 1st smoothing;
  • EMA(EMA(EMA(...,r),s),u) - 3rd smoothing - EMA(u), applied to result of the 2nd smoothing.
Input parameters:
  • q - number of bars, used in calculation of HLM (by default q=2);
  • r - period of the 1st EMA, applied to HLM (by default r=20);
  • s - period of the 2nd EMA, applied to result of the 1st smoothing (by default s=5);
  • u - period of the 3rd EMA, applied to result of the 2nd smoothing (by default u=3).
Note:
  • q>0;
  • r>0, s>0, u>0. If r, s or u are equal to 1, smoothing is not used;
  • Min. rates = (q-1+r+s+u-3+1).

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

Ergodic CSI-Oscillator Blau_Ergodic_CSI Ergodic CSI-Oscillator Blau_Ergodic_CSI

Ergodic CSI-Oscillator by William Blau.

Ergodic CMI-Oscillator Blau_Ergodic_CMI Ergodic CMI-Oscillator Blau_Ergodic_CMI

Ergodic CMI-Oscillator by Willam Blau.

Directional Trend Index Blau_DTI Directional Trend Index Blau_DTI

Directional Trend Index (DTI) Indicator by William Blau.

Ergodic DTI-Oscillator Blau_Ergodic_DTI Ergodic DTI-Oscillator Blau_Ergodic_DTI

Ergodic DTI-Oscillator (Directional Trend Index) by William Blau.