The moving median is a central tendency which is calculated over a sliding window of price bars or indicator values. The median is the numeric value separating the higher from the lower half of the data set built from the input series over the selected window.
Indicator Description
The moving median indicator is a non-linear FIR (finite impulse response) filter that can be used like a moving average. Compared to all standard moving averages, it is a more robust central tendency, because it is less sensitive to outliers.
The moving median over a lookback period N is calculated by writing the last N values of the input series to an array, sorting the array and selecting the middle value of that array.
Other Library indicators
Other indicators from the statistical analysis category include the Current Day Media, Interquartile Range, Mean Absolute Deviation (Around the Mean), Mean Absolute Deviation (Around the Median), Median Absolute Deviation (Around the Median), Moving Mean TPO, Moving MedianTPO, Moving Mode TPO, Moving Mean VWTPO, Moving MedianVWTPO, Moving Mode VWTPO, Standard Deviation, Volume Weighted Standard Deviation, Volume Weighted Mean Absolute Deviation and the Modified Z Score. You may furthermore review the Raff Channel, Daily Regression Channel and Indicator Spotlight newsletter post on the Linear Regression Channel.
The Moving Median indicator is available for NinjaTrader 8.