OPEN-SOURCE SCRIPT

Hampel Filter

5 829
Hampel Filter script.

This indicator was originally developed by Frank Rudolf Hampel (Journal of the American Statistical Association, 69, 382–393, 1974: The influence curve and its role in robust estimation).

The Hampel filter is a simple but effective filter to find outliers and to remove them from data. It performs better than a median filter.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.