This plots the Hull Moving Average Turning Points and Concavity
with the addition of colored segments representing concavity and turning points: maxima, minima and inflection.
a fast way to determine the trend direction and possible reversals based on concavity of the trend

Dark Green: Concave Up but HMA decreasing. The 'mood' has changed and the declining trend of the HMA is slowing. Possible trend change to Uptrend soon
Light Green: Concave up and HMA increasing. Price is increasing, and since the curve is still concave up, it is accelerating upward. Uptrend
Orange: Concavity is now downward, and though price is still increasing, the rate has slowed, perhaps the mood has become less enthusiastic. Possible trend change to Downtrend soon
Red: Concave down and HMA decreasing. Downtrend

Buy signals generated when Hull turns from Dark Green -> Light Green
Sell signals generated when Hull turns from Orange -> Red

To best determine if this is a entry point or a trend reversal, it is recommended to use in conjunction with the QQEMoMoTV indicator


Calculates the concavity of the Hull Moving Average comparing the Hull concavity of the current bar to the previous bar and displays the concavity in the form of 4 different colors.
Note: may cause repainting, so recommended to use with another indicator such as the QQEMoMoTV indicator to confirm signals.
Calculates divergence between the calculated HMA and the actual price and displays this in the Divergence Label.
Calculates the local minima, maxima and inflection points with the ability to display these as auto support/resistance lines.

You can use the script's inputs to configure:
 • Calculation Source (default HL2 )
 • HMA Length (default 21)
 • Lookback (default 2)
 • Whether to show Auto Support/Resist Lines
 • Whether to show Buy/Sell Arrows
 • Whether to show Divergence Label
 • Whether to extend Local Auto Support/Resist Lines

Buy Signal alert based on HMA crossing above MA_Min/Hull Support, when Hull turns from Dark Green -> Light Green, Bullish
Sell Signal alert based on HMA crossing below MA_Max/Hull Resistance, when Hull turns from Orange -> Red, Bearish

Experimental support for applying the indicator to higher time frames
eg. charting the hourly MashumeHull indicator on 15 min chart. See the commented code to access this feature


Original Author: Seth Urion (Mashume)
Feature upgrades and usage: Xiuying
Converted to Tradingview by: Machdragon
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Great indicators, nice work; could you please elaborate a little on how to use the divergence label, as I am not really sure how to interpret it.

Thanks very much!
machdragon apm1963
@apm1963, the divergence label is the difference between the Hull Moving Avg and the actual price.
tbh personally, I don't really use the divergence in my trading
apm1963 machdragon
@machdragon, but it says something about bullish or bearish divergence I think?
Amazing work bro keep it best of luck
Good job, bro this repaints, or can be use for live trading?
machdragon luissm0915
@luissm0915, Yes, to best determine an entry point or a trend reversal, it is recommended to use with another indicator such as the QQEMoMoTV indicator to confirm signals
fipikcom machdragon
@machdragon, How can i confirm signals via both indicators ?
wow, just checked this one...i´m blown away. Will definetely backtest some ideas and will report back. THANK YOU
machdragon Tommy_bnks
@Tommy_bnks, thank you for the kind words! hope you will find it useful
Thanks for the conversion into Tradingview. Really appreciate your work