gorx1

High-pass filter

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.

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 a publication is governed by House Rules. You can favorite it to use it on a chart.

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.

Want to use this script on a chart?