Download MetaTrader 5
Trade in MetaTrader 4 from your browser

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2012.07.06 11:30
Running Median Indicator for MT4

Running Median Indicator for MT4 - indicator for MetaTrader 4

| English Español Português 日本語 Deutsch

Views:
14077
Rating:
votes: 1
RunMedian.mq4 (3.08 KB)view

Description:

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.

Image:


Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

Average Directional Movement Index (ADX) Average Directional Movement Index (ADX)

The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.

i-GentorLSMA&EMA_v.0.2 i-GentorLSMA&EMA_v.0.2

Synchronized version numbering using the iGentor CCIM v.0.2.

i-GentorCCIM_v.0.2 i-GentorCCIM_v.0.2

Removed LSMA and EMA. Made the sixth signal bar and trend coloring.