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:
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