Filter impulse & step responses

A simple utility tool to examine a filter's step & impulse responses.
By default you can see LSMA's responses.

How to use:
1. Insert your filter to "f(input)" function inside the code;
2. Let this tool help you to make your own filters.

I been seeing people dropping snaps with this stuff but NEVER, NO1 actually dropped the tool itself (4 real?).
Well here is it, for you.

Almost forgot, adjust "Position" parameter to make plots seen. Try to zoom out, and +-100
Release Notes: Thanks to Pine 5 now it's very easy to choose the plot position, now the "Offset" parameter basically represents the difference from between the last datapoint to the plot.

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.


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?