SuperSmoother Filter (SuperSmoother)
John Ehlers' 2-pole Butterworth low-pass filter fed with a two-bar price average. It rejects wave components shorter than the interval as aliasing noise while following price with considerably less lag than an SMA or EMA of comparable smoothness.
Live Demo
Pick a market regime to see how SuperSmoother(10) reacts:
Usage
import {} from 'trading-signals';
// SuperSmoother yields results once 10 inputs have been added
const = new (10);