Guarda come scaricare robot di trading gratuitamente
Ci trovi su Facebook!
Unisciti alla nostra fan page
Unisciti alla nostra fan page
Ti è piaciuto lo script? Provalo nel Terminale MetaTrader 5
StepMVA - indicatore per MetaTrader 5
- Visualizzazioni:
- 4098
- Valutazioni:
- Pubblicato:
- 2019.01.02 14:28
- Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a 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
Tradotto dal russo da MetaQuotes Ltd.
Codice originale https://www.mql5.com/ru/code/22947