TradingView
everget
30 Sep 2018 pukul 16.16

Hampel Filter 

U.S. Dollar/Japanese YenFXCM

Deskripsi

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.
Komentar
Pratik_4Clover
Can you please cite difference between working of this and simple median?

From what I understood from code is that its is ema of HF which is over simple median?
everget
@OWL, thanks for your feedback. I will do it
j102491
Great thanks
j102491
How does the filter remove outliers ? I just see a time series
Lebih lanjut