OPEN-SOURCE SCRIPT

Hampel Filter

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.
absolutedeviationdeviationfilterhampelMADmedianMoving AveragesoutliersTrend Analysis

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Freelance -> Telegram: @alex_everget

A list of FREE indicators:
bit.ly/2S7EPuN

A list of PAID indicators:
bit.ly/33MA81f

Earn $15:
tradingview.com/pricing/?share_your_love=everget
Also on:

Disclaimer