Imp_XMA – indicator for MetaTrader 5

  • Platform: Metatrader5
  • Currency pairs: Any pairs, indices and metals
  • Trading Time: Around the clock
  • Recommended broker: icmarkets, XM
  • Real author:


    Moving average wing averaging of the linear combination of the input price timeseries.

    The moving average, just like any other indicator, can be calculated only based on 7 price constants. This modification of the moving average allows to calculate the indicator based on any combination of the 4 main price types (close, open, high, low). For this purpose, four coefficients are used as the indicator’s input parameters:

    1. Close_coef – weight coefficient of CLOSE price for calculation of the individual price;
    2. Open_coef – weight coefficient of OPEN price for calculation of the individual price;
    3. High_coef – weight coefficient of HIGH price for calculation of the individual price;
    4. Low_coef – weight coefficient of LOW price for calculation of the individual price.

    Resulting formula of the weight constant:

    Price = (Close_coef*CLOSE + Open_coef *OPEN + High_coef*HIGH + Low_coef*LOW) / (Close_coef + Open_coef + Open_coef + High_coef + Low_coef );

    Get E-Book Worth $100 for Free!!!

    The indicator uses SmoothAlgorithms.mqh library classes (copy it to <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”.

    The original indicator was developed in the MQL4 language and published in the CodeBase on 11.11.2012.

    Fig1. The Imp_XMA indicator

    Fig1. The Imp_XMA indicator

  • How to install MT5 indicator?
  • 1. On the desktop, double-click to open the MT45 trading platform software you installed.
  • 2. Click on “File” in the upper left corner – “Open Data Folder”, double-click the MQL5 folder, and double-click the Indicators folder
  • 3. Copy the metrics you need to install to the Indicators folder
  • 4. Open MT5, find “Navigator” in the display menu, then click “Technical Indicators” of “Navigator” and right click to refresh, you will see the indicator just copied.
  • 5. In the “Technical Indicators” of “Navigator”, find the indicator file just installed, double click or click manually to the chart window
  • 0/5 (0 Reviews)

    View daily trading signals