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:
2709
Note:
(9)
Publié:
2018.07.13 16:00
DiffMA.mq5 (9.15 KB) afficher
MQL5 Freelance Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

The indicator represents two moving averages calculated based on the range of one-direction candlesticks.
One MA is for bullish range, the other one is for bearish candlesticks.

It has two configurable parameters:

  • Period - calculation period (candlestick range)
  • Applied price - calculation price

Calculations:

UP = SumUp / CountUp

DN = SumDn / CountDn

where:

SumUp = Sum of SMA(Applied price, 1) for all bullish candlesticks within the Period

SumDn = Sum of SMA(Applied price, 1) for all bearish candlesticks within the Period

CountUp - number of bullish candlesticks within the Period

CountDn - number of bearish candlesticks within the Period


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

Bears_Bulls_Impuls Bears_Bulls_Impuls

An indicator of bull/bear power

Adaptable_RSI Adaptable_RSI

A configurable RSI

DiffMA_Histogram DiffMA_Histogram

Difference of two moving averages within the range of one-direction candlesticks

Flat_Trend Flat_Trend

A market state indicator