lolo

Hull moving average

Category: Indicators By: lolo Created: October 12, 2015, 8:11 PM
October 12, 2015, 8:11 PM
Indicators
8 Comments
Hull moving average

The HMA (Hull Moving Average) is an extemely fast Moving Average, originally developed by Australian Technical Analyst Alan Hull.

The Hull Moving Average solves the age old dilemma of making a moving average more responsive to current price activity whilst maintaining curve smoothness. In fact the HMA almost eliminates lag altogether and manages to improve smoothing at the same time.

Period=16
inner = 2*weightedaverage[ round( Period/2 ) ](close)-weightedaverage[Period](close)

MMHULL=weightedaverage[ round( sqrt(Period) ) ]( inner )

return MMHULL COLOURED(255,0,0) as"Moyenne de Hull"

Download
Filename: Hull-moving-average.itf
Downloads: 487
lolo
lolo Average
I usually let my code do the talking, which explains why my bio is as empty as a newly created file. Bio to be initialized...
Author’s Profile

Comments

Jozo
7 years ago
#

Hi Guys, could you help? When I attach this Hull MA it goes to subwindow! It should attach onto the chart. How do I do this correctly - i.e. attach it onto the chart? Thanks

Hynesjp
7 years ago
#

Hi Nicolas, I followed your suggestion to be able to change the colour but I cannot get the program to work. It does not provide the option to change the colour in the indicator window. I am using prorealtime V10. If you could advise I would be very grateful. Kind regards

Nicolas
7 years ago
#

Remove the COLOURED instruction from the last line of the code.

lowbat
8 years ago
#

Ciao Nicolas, sarebbe possibile avere sullo stesso grafico la media Hull ma in multi time frames? come Heikin Hashi multi time frames da te creato? grazie

Nicolas
8 years ago
#

La struttura multidirezionale per gli indicatori non è ancora disponibile, ma potremmo simularli con una strategia di trading automatica, per favore apri una nuova discussione per questo scopo nel forum di ProBuilder.

Kevin
9 years ago
#

Is it possible to amend this code so that when the HMA changes direction the colour can be changed ie:- Green uptrend, Red downtrend. TIA

Nicolas
9 years ago
#

Change the last line with return MMHULL as"Moyenne de Hull" and change the color setting directly in the indicator window (uptrend and downtrend colors)

Kevin
9 years ago
#

As always...............Thank you once again Nicolas. So simple when you know how...............Much appreciated

ProRealCode ProRealCode
Loading...