Running Median Indicator for MT4 – indicator for MetaTrader 4

0
1551

Last updated:

This indicator computes the median of odd span. The median is described as the numerical value separating the higher half of a sample, or a probability distribution, from the lower half. It is often considered as one of the most robust smoothing operator in the presence of outlier values, and particularly more robust than the mean.

Calculation of medians is a popular technique in summary statistics and summarizing statistical data. A very nice property of the median is that the distance between the median and the mean is bounded by one standard deviation. The median is also a non-lagging operator.

The paradox is that it is almost impossible to find the median indicator in trading softwares. Moreover, straightforward implementations rely on array sorts, which is a very slow operation that does not scale up to long timeseries.

I therefore designed this running median operator which is incremental and therefore very fast. It is under the GNU public license.

Level up your trading

Learn to read the chart — not just the indicator

eBook · Instant PDF

The Candlestick Playbook
Read and trade 40+ candlestick patterns — with exact entries, stops and exits.

Video Course · 12 modules

The Price Action Masterclass
Read clean charts the no-indicator way — pin bars, support & resistance, entries and exits.

Recommended MT4/MT5 Brokers

XM
  • ✓ *FREE *$50 to start (withdrawable)
  • ✓ Deposit bonus up to $5,000
  • ✓ Negative balance protection

Open XM account →

FBS
  • ✓ Micro lot support
  • ✓ Automated position sizing
  • ✓ Free demo account

Open FBS account →

FXOpen
  • ✓ Advanced order types
  • ✓ Copy trading available
  • ✓ 100+ indicators

Open FXOpen account →

Trading forex and CFDs carries a significant risk of loss and is not suitable for everyone. Broker links are affiliate links — we may earn a commission at no cost to you.

Free MT4 Indicator Download

Download below

Running Median Indicator for MT4 – indicator for MetaTrader 4

LEAVE A REPLY

Please enter your comment!
Please enter your name here