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?


Does this indicator repaint?
+1 Reply
It repainted after the fact...I hate that. Its like buying a used car from a fishy salesman.
Dragon, have you tested any methods to stop this from REpainting? I know you are aware of it, but would be an extra special/usefully accurate indicator if we could deter that attribute.
It's the last period I refer to (preiod before the current period). The buy or sell graphic arrow indicators can appear/disappear. I understand that of course on the CURRENT period, but even using "close", the last CLOSED PERIOD could still change in real time.
I mean the alerts miss ALOT of signals. Tried after bar, once per, etc. Alerts missed for about half the buy and sell signals. Also price crossing support and resistance doesn't work.
Tested on 1m candles and it misses ALOT of signals.
This looks good. I set it up along side a LL HH, but the buy sell signals don't work with the alerts.
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