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
ckat55 Thank you Nicolas, is there any way that an alert can be set for when the dot appears?
Nicolas yes, change the last line with: RETURN wrb,qh and set an alarm with the alert tool for ea...
ckat55 Thank you Nicolas, I will try it.
mmoren44 no esta el color azul (Fade //Blue), No aparece en las barras el color azul.
larouedegann changer fade coloured (0,0,255)
Nicolas Apply it on the price chart. The indicator plot just one single line. There are two in the...
jamesoc Hi Nicolas, do you happen to know if there is an indicator that can be applied to charts, to...
gustavobp Buenos dias Nicolas, al agregar tu indicador no me reconoce la variable Price ni en la linea...
Nicolas Thanks a lot for this new valuable addition to our library. I changed line 76 with "barindex...
Horance Thanks. I've noticed this leftover after submission, but it was too late for editing. BTW, I...
Etienne Thanks Horance for porting this code to PRT. I would like to bring some speedup to your cod...
Nicolas
7 years ago
Maxime Baudin Interesting, Thank you! :)
franck-david Bonjour Nicolas , actuellement je me forme grace a vos videos tres tres bien expliques mer...
Nicolas Merci. ça n'est pas le lieu pour poser ce genre de question :) Merci d'utiliser le forum Pro...
Horance This is a good question. John Ehlers explains it in Rocket Science for Traders. You have to ...
cbeukes Much appreciated, I will give that a try. Also, is there any criteria that one could use to ...
avatar
Anonymous Thanks for the code! I'm trying to understand how it works, and have a few questions... line...
Bhanu Pratap Dear Sir, Can I get MQL4 File for this indicator and last man standing . pls looking forward...
ISTJ_T Hi Nicolas Thanks a lot for the indicator. Trading off the TradingView and have issues wit...
Nicolas Just use ProRealTime and its powerful screener for stocks.
Nicolas S11 variable is not a loop but a ratio calculation. In real time the codes is processed on e...
Stephan_V Nicolas, This regression delivers damn good results, especially for trends ! I'm wonde...
Nicolas Least square method is used here in order to get the perfect y = ax2 + bx + c
Bebbo Grazie del prezioso contributo Nicolas, scusa la mia inesperienza, sono alle prime armi e s...
Nicolas To avoid recalculation, you should use the one from this post.
Bebbo Ok Grazie Nicolas.
GertLjung Ok, thanks
marinober Gentile Nicolas, l'indicatore mi da errore : ciclo infinito o con troppe iterazioni, modific...
Nicolas Se la stai usando in un piccolo lasso di tempo, assicurati di avere unità sufficienti visual...
gabri Brined :) look on this indicator how on the 6th and on the 9th you have very high positive s...
Pepsmile Hi everybody, An application could be found by applying this indicator on the strategy prof...
zilliq Thanks for your indicator Gabri but are you sure for your code because on EUR/USD for exampl...

Top