Guarda come scaricare robot di trading gratuitamente
Ci trovi su Telegram!
Unisciti alla nostra fan page
Unisciti alla nostra fan page
Ti è piaciuto lo script? Provalo nel Terminale MetaTrader 5
Avg_MA - indicatore per MetaTrader 5
- Visualizzazioni:
- 3108
- Valutazioni:
- Pubblicato:
- 2018.10.25 17:56
- Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance
Average from MA indicator calculates the average value from the specified number of moving averages, whose periods are calculated as an increment to the base МА period
It has six input parameters:
- First MA period - МА calculation base period
- Method - МА calculation method
- Applied price - МА calculation price
- Count - number of calculated МАs
- Coefficient of increment - increment ratio of calculated MA periods
- Incremental method - increment method
- Addition
- Multiplication
Example of calculation with values:
First MA period = 5
Coefficient of increment = 2
Count = 5
- If Incremental method = Addition:
AvgMA=(MA(5)+MA(7)+MA(9)+MA(11)+MA(13))/5
- If Incremental method=Multiplication:
AvgMA=(MA(5)+MA(10)+MA(20)+MA(40)+MA(80))/5
where:
MA - MovingAverage(Applied price,Method) with calculated period
Tradotto dal russo da MetaQuotes Ltd.
Codice originale https://www.mql5.com/ru/code/22420