Hull Moving Average (HMA)

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Hull Moving Average (HMA)

Postby Apprentice » Tue Aug 03, 2010 1:30 pm

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 2954 times

HMA with Alert.lua
(15.29 KiB) Downloaded 20 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 22471
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Hull Moving Average (HMA)

Postby maddup3e » Thu May 26, 2011 6:48 am

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.
maddup3e
 
Posts: 4
Joined: Thu May 26, 2011 5:24 am

Re: Hull Moving Average (HMA)

Postby maddup3e » Thu May 26, 2011 9:55 am

That is perfect. Thank you, Apprentice :)
maddup3e
 
Posts: 4
Joined: Thu May 26, 2011 5:24 am

Re: Hull Moving Average (HMA)

Postby fxwithme » Wed Aug 24, 2011 2:20 pm

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.
fxwithme
 
Posts: 5
Joined: Wed Aug 24, 2011 2:16 pm

Re: Hull Moving Average (HMA)

Postby Apprentice » Wed Aug 24, 2011 3:10 pm

Top Most Post, Style Option Added.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 22471
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Re: Hull Moving Average (HMA)

Postby Apprentice » Fri Jun 23, 2017 6:45 am

The indicator was revised and updated.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 22471
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Hull Moving Average (HMA)

Postby TazmasterT » Tue Sep 03, 2019 11:39 am

I know this is an old topic now but is there anyway to add an alert when the MA changes colour?

Many thanks
TMT
TazmasterT
 
Posts: 34
Joined: Thu Dec 13, 2018 8:24 am

Re: Hull Moving Average (HMA)

Postby Apprentice » Thu Sep 05, 2019 7:06 am

HMA with Alert.lua added.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 22471
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Custom Indicators

Who is online

Users browsing this forum: enotikos and 12 guests

cron