The Hull smoothing method aim to reduce the lag of a moving average by using a simple calculation involving smoothing with a moving average of period √p the subtraction of a moving average of period p/2 multiplied by 2 with another moving average of period p, however it is possible to extend this calculation by introducing more terms thus reducing both the lag and overshoot of the classical .
The proposed filter add 1 more term to the classical thus ending with : sma( (p/3) * 3 - (p/2) - (p),p), this can be developed as long as every terms add to total unity , more terms will often require more smoothing, this is why i replace √p by p.
In blue a and in red the proposed filter of both period 50. The third term added allow for more reactivity which sometimes allow for overshoots with lower amplitudes.
Adding more terms to certain filtering methods can correct certain behaviours as well as reducing lag or increasing smoothing.
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.
Become a Patreon and get access to exclusive technical indicators!
You can also check out some of the indicators I made for luxalgo : https://www.tradingview.com/u/LuxAlgo/#published-scripts