A oldie but a goodie.
hma - ogeima
Develloped by ogeima ,on request for FXiGoR(Igorad) in 2006
Igorad claimed it was written exactly to the original formula and the code was very beneficial to coders,especially when wanting to code HMA into other indicators.
I personally use it and it works remarkably well.
To see how good it performs ,change period from 20 to 15 and leave other settings as default and put on M15 chart
AussieBeau