Hull moving average

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.

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

  1. Kevin • 10/12/2015 #

    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 • 10/12/2015 #

      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 • 10/12/2015 #

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

  2. lowbat • 10/12/2015 #

    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 • 10/12/2015 #

      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.

  3. Hynesjp • 10/12/2015 #

    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 • 10/12/2015 #

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

  4. Jozo • 10/12/2015 #

    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

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
RubberToe Is there something we are missing here, I just get the same curved line as well...
Khaled @Nicolas, Hi Nicolas, I've downloaded the itf and it doesn't display as an Oscillator, it"s ...
sal157011 I think the problem here is that you must feed the trigonometric functions cos and sin with ...
AntoGH Bonjour peut-on backtester cela ? Et si vous l'avez fait pourriez vous nous donner le code.....
Nicolas désolé c'est un oubli de ma part, tu peux supprimer cette ligne, elle n'est plus utile dans ...
DELBERT Bonjour , Nicolas , merci pour ta réponse , je suis en effet avec PRT 10.3 , et j'ai bidouil...
Maxime Baudin Super travail !
Yanic c'est top j'adore
Vinks_o_7 Hi Bruno Could you tell me where I can find more info about Laguerre candlesick please ?
Vinks_o_7 oops sorry did not see that one had to untick the standard Price to see your candle...
Nicolas Sorry there was a small issue in the code, i have changed the attached itf file and updated ...
Mitchy14 Hi Nicholas, apologies, I am usually fairly good at implementing your creations (for which I...
Nicolas Are you using PRT version pre-v11? TIMEFRAME for indicators is possible since months for pro...
Maxime Baudin Merci l'ami, passe une bonne semaine
IV Mcm Merci de même ;)
robertogozzi I don't actually know what they are calculating. As soon as I know, I will post further info.
robertogozzi It's because they calculate future bars, that's why it's not possible to use that indicator ...
venugopal Hi Nicolas, Thanks for this code. Is it possible to build a screener using this indicator?. ...
Nicolas It has been done in that topic. Enjoy.
Abouadam2 EFFICACE
Finning Hi JuanJ, just a question about the tollerance*pointsize. I know what it is/what it does (in...
JOKAMAURICE Hi I am looking to number bars in a chart to ease analysis. Any idea if a program has been d...
goldenfish67 Hi guys just copied the code but I keep getting an error message: "Line 15 one of the fo...
poldoposta si potrebbe trovare una soluzione per sovrapporlo al prezzo?
robertogozzi Basta che tu clicchi sull'etichetta (tag) PREZZO del grafico (appena sotto l'angolo in alto ...
Zigo Zou je graag helpen, maar mijn computer is in onderhoud. Einde deze week, kan ik hopelijk te...
Zigo @ DimKar Midline = (stlong + stshort)/2 Return stLong coloured(0,255,0) as"StopLong", M...
DimKar Dear Zigo thank you very much for your answer !!!
Nicolas
4 years ago
Supertrend + CCI
v10.3
Supertrend + CCI
12
Indicators
robi38 Bonjour, est-il possible d'avoir un screener faisant ressortir les valeurs dont l'indicateur...
Nicolas oui bien sûr, merci de formuler la demande dans le forum ProScreener en respectant les règle...
redisdead Bonjour, J'ai cherché sur le forum une trace de la demande de robi38 sans résultat. Est i...
Roland57800 Bonjour Noobywan, si je comprends bien l'utilisation de ce code que je trouve particulièr...
Noobywan Bonjour, quand la question a été posée dans le forum à celui qui avait fait la requête en am...
Fabian This Code draws only a retangle if the condition has been confirmed and NOT before (in that ...

Top