Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Indicator | Median Moving Average

Median MA is a moving average, which is calculated using the median price for a given period.

A sorted array of prices for the specified period is used for calculating the moving average. A value from the array of prices with the following index is used:

  • (N-1)/2 - for an odd N;
  • ([N/2] + [N/2 + 1])/2 - for an even N.

The indicator has two input parameters:

  • Period - calculation period;
  • Applied price - price used for calculations.

MetaTrader Experts, Indicators, Scripts and Libraries

19891

Best MetaTrader Indicators + Profitable Expert Advisors