OPEN-SOURCE SCRIPT

High-pass filter

By gorx1
Updated
High-pass filter | Pine Utilities series, ready to be used in "study-on-study" fashion |

Represents the difference between the filter and the original unfiltered data.

How to use:
1) Add a filter to your chart (in this particular case it was 4-pole Gaussian filter implemented by everget, ty man);
2) Tap ... on your's filter status line and choose "Add study/strategy on ...", then choose High-pass filter. Alternatively, add high-pass filter directly to your chart, then High-pass filter's settings -> Basis -> choose the filter you've applied during the step 1;
3) Choose the source (op2 and hlcc4 are available as well);
4) See the difference (literally).

Peace TV
Release Notes
Update 4/4/2022

New:
- "Absolute difference" checkbox;
- "In %" setting.
averagedistancefilterfromhighmovingpassPine utilitiesVolatility
gorx1

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?

Disclaimer