Page 1 of 1

Hull Moving Average (HMA)

PostPosted: Tue Aug 03, 2010 1:30 pm
by Apprentice
HMA.png


The Hull Moving Average (HMA) developed by Alan Hull, is an extremely fast and smooth moving average.

HMA trying to eliminate lag time and keep smoothing at the same time.

HMA=LWMA ([2 x LWMA (Price, Period/2) - LWMA (Price, Period)], SQRT (Period))
HMA.lua
(2.15 KiB) Downloaded 3405 times

HMA with Alert.lua
(15.29 KiB) Downloaded 312 times

Re: Hull Moving Average (HMA)

PostPosted: Thu May 26, 2011 6:48 am
by maddup3e
I know this is an old topic, but is there a way to add color changes for the HMA line going up vs. going down?

Thank you.

Re: Hull Moving Average (HMA)

PostPosted: Thu May 26, 2011 9:55 am
by maddup3e
That is perfect. Thank you, Apprentice :)

Re: Hull Moving Average (HMA)

PostPosted: Wed Aug 24, 2011 2:20 pm
by fxwithme
Is it possible for you to make HMA similar to WMA, where I can not only change colors but also the thickness and type (dotted, etc.) of the HMA? Thanks.

Re: Hull Moving Average (HMA)

PostPosted: Wed Aug 24, 2011 3:10 pm
by Apprentice
Top Most Post, Style Option Added.

Re: Hull Moving Average (HMA)

PostPosted: Mon Sep 29, 2014 1:27 am
by Apprentice
Major algorithm update.

Re: Hull Moving Average (HMA)

PostPosted: Fri Jun 23, 2017 6:45 am
by Apprentice
The indicator was revised and updated.

Re: Hull Moving Average (HMA)

PostPosted: Tue Sep 03, 2019 11:39 am
by TazmasterT
I know this is an old topic now but is there anyway to add an alert when the MA changes colour?

Many thanks
TMT

Re: Hull Moving Average (HMA)

PostPosted: Thu Sep 05, 2019 7:06 am
by Apprentice
HMA with Alert.lua added.