Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Telegram !
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:
4103
Note:
(6)
Publié:
2019.01.02 14:28
StepMVA.mq5 (6.38 KB) afficher
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

The Moving Average with step indicator.

It has two input parameters:

  • Period - calculation period
  • Step - step size

The calculation is similar to a Simple Moving Average. However, some prices are excluded from the calculations in accordance with the step size.

If parameters are set to Period = 4 and Step = 2, the calculation will be as follows:

StepMA = (Close[i] + Close[i+2] + Close[i+4] + Close[i+6]) / 4.0

If Step = 1, the indicator is identical to a simple moving average.

Moving Average with step. Period = 4, Step = 2

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

Pivot_Oscillator Pivot_Oscillator

Pivot Oscillator

18AvgMA 18AvgMA

The "Average of 18 Moving Averages" indicator

Total_Power Total_Power

Indicator Total Power

Average_Change Average_Change

The Average change indicator