Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

Views:
336
Rating:
votes: 5
Published:
2018.10.25 18:02
xMASumAvg.mq5 (40.65 KB)view

X MA Sum Average is an average of moving averages. In other words, it provides the average value of multiple moving averages with the period within the range from X to N

It has four inputs:

  • Initial period - МА range initial period
  • End period - МА range end period
  • Method - МА calculation method
  • Applied price - МА calculation price

Calculation:

XMA = (MA[Initial period] + MA[Initial period+1] + .... + MA[End period] ) / (End period-Initial period+1)

Fig. 1. X MA Sum Average with the default range of periods: 20 - 100


Fig. 2. X MA Sum Average with the range of periods: 1- 50

Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/22418

MA_Trend MA_Trend

MA Trend indicator

Generalized double DEMA Generalized double DEMA

Generalized double DEMA

Autotrader Momentum Autotrader Momentum

The Expert Advisor compares Close prices

TimeZonePivotsOpenSystem TimeZonePivotsOpenSystem

The indicator paints candles going beyond the TimeZonePivots channel