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 HMA .


The proposed filter add 1 more term to the classical hull moving average thus ending with : sma( sma (p/3) * 3 - sma (p/2) - sma (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 HMA 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.
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.

Want to use this script 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 :


Looking very good Alex...
+3 Reply
alexgrover idrisbengali
@idrisbengali, Thanks for the feedback.
Thank you Alex; looking forward to seeing more of your posting; keep it up bro =D
+2 Reply
@ICEKI, Thanks for the feedback, i will try to post other projects soon.
great to see you back!!!

+1 Reply
@Duyck, I hadn't left ;)
Superb! Nicely done.
+1 Reply
alexgrover jaggedsoft
+1 Reply
jaggedsoft alexgrover
@alexgrover, I added coloring here
+3 Reply
alexgrover jaggedsoft
@jaggedsoft, I like the methodology behind the signals, thanks for your contribution.
+2 Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar About Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Private Messages Chat Sign Out