This indicator calculates the averaging amount of the different period Moving Averages. Moreover, the interval of the averaging period is set by the user.

Indicator input parameters:

//| INDICATOR INPUT PARAMETERS                   |
input Smooth_Method XMA_Method=MODE_SMA; // Averaging method
input uint StartLength=20;               // Averaging period
input uint EndLength=100;                // Final averaging period
input int XPhase=15;                     // Smoothing parameter
input int Shift=0;                       // Horizontal shift of the indicator in bars
input int PriceShift=0;                  // Vertical shift of the indicator in points

This indicator was first implemented in MQL4 and published in Code Base on 30.11.2009.

The indicator uses SmoothAlgorithms.mqh library classes (must be copied to the terminal_data_folder\MQL5\Include). The use of the classes was thoroughly described in the article “Averaging price series for intermediate calculations without using additional buffers”.


MT5 Indicator – Download Instructions

SumXMA is a Metatrader 5 (MT5) indicator and the essence of the forex indicator is to transform the accumulated history data.

SumXMA provides for an opportunity to detect various peculiarities and patterns in price dynamics which are invisible to the naked eye.

Based on this information, traders can assume further price movement and adjust their strategy accordingly.

How to install SumXMA.mq5?

  • Download SumXMA.mq5
  • Copy SumXMA.mq5 to your Metatrader Directory / experts / indicators /
  • Start or restart your Metatrader 5 Client
  • Select Chart and Timeframe where you want to test your indicator
  • Search “Custom Indicators” in your Navigator mostly left in your Metatrader 5 Client
  • Right click on SumXMA.mq5
  • Attach to a chart
  • Modify settings or press ok
  • Indicator SumXMA.mq5 is available on your Chart

How to remove SumXMA.mq5 from your Metatrader 5 Chart?

  • Select the Chart where is the Indicator running in your Metatrader Client
  • Right click into the Chart
  • “Indicators list”
  • Select the Indicator and delete

Click here below to download MT5 Indicator:


Trade With Lowest Spreads
Previous articleSumRSI
Next articleLineBreakOnChart