Recursive Median Filter

Category: trend

Combines the outlier rejection of a median filter with the smoothness of a recursive low-pass filter (essentially an EMA of the median).

Formula

\begin{cases} \omega = \frac{2\pi}{LowpassLength} \\ \alpha = \frac{\cos(\omega) + \sin(\omega) - 1}{\cos(\omega)} \\ RMF_t = \alpha \cdot Median(src, MedianLength) + (1 - \alpha) \cdot RMF_{t-1} \end{cases}

Inputs

See signal primitives and every published strategy that uses Recursive Median Filter on WOBR StrategyVerse.


Open the interactive page on WOBR AI → · WOBR.AI home