HULL MA + SIGNALS

HULL MA + SIGNALS

1. Introduction

The Hull MA + Stochastic Signals indicator is a hybrid tool that merges trend-following and momentum analysis into a single, streamlined indicator. By combining a configurable Hull Moving Average (HMA) with a Stochastic Oscillator, this indicator provides timely buy and sell signals that are both responsive and reliable. It is ideal for traders who want to identify trade opportunities in the direction of the prevailing trend while avoiding premature entries.


2. Concept Behind the Indicator

At the core of this indicator lies a smoothed price trend line based on one of three variations of the Hull Moving Average:

  • HMA (Hull Moving Average): Uses weighted moving averages to reduce lag and improve trend clarity.

  • THMA (Triple Hull Moving Average): Combines three weighted moving averages for more aggressive smoothing and responsiveness.

  • EHMA (Exponential Hull Moving Average): Integrates exponential moving averages, offering a slightly different sensitivity to price changes.

The user can switch between these modes via the modeSwitch parameter.

Complementing the trend logic is the Stochastic Oscillator, which identifies momentum shifts and potential reversals. When these two components align — a strong trend confirmed by the Hull average and a bullish or bearish crossover in the stochastic oscillator — the indicator issues a trading signal.


3. Signal Logic

The indicator identifies buy and sell signals based on multiple confirmations:

Buy Signal Conditions:

  • A bullish crossover of the stochastic (%K crosses above %D)

  • The crossover occurs below the oversold level (default: 30)

  • The Hull MA is trending upward

  • Price is above both recent Hull values

  • The current closing price is higher than the previous one

Sell Signal Conditions:

  • A bearish crossover of the stochastic (%K crosses below %D)

  • The crossover occurs above the overbought level (default: 70)

  • The Hull MA is trending downward

  • Price is below both recent Hull values

  • The current closing price is lower than the previous one

Signals are shown directly on the chart with arrows and labeled text (“BUY” or “SELL”).


4. Customizable Parameters

The indicator provides several parameters for user customization:

  • modeSwitch: Selects the Hull variation (1 = HMA, 2 = THMA, 3 = EHMA)

  • length: Main length for the Hull MA calculation (default: 200)

  • lengthMult: Multiplier applied to the base length (default: 1.5)

  • stochLength: Lookback period for stochastic calculation (default: 14)

  • smoothK: Smoothing of %K line (default: 3)

  • smoothD: Smoothing of %D line (default: 3)

  • oversoldLevel: Threshold for oversold conditions (default: 30)

  • overboughtLevel: Threshold for overbought conditions (default: 70)

Adjusting these values allows the trader to fine-tune the indicator to match different asset classes or market conditions.


5. Visual Aids and Plotting

Two Hull MA lines are plotted on the chart:

  • MHULL (Main Hull): Current value of the selected Hull average

  • SHULL (Secondary Hull): Two bars ago Hull value for trend comparison

Their color dynamically changes:

  • Green: Indicates upward trend (MHULL > SHULL)

  • Red: Indicates downward trend (MHULL < SHULL)

Additional visual elements:

  • Green or red arrows and labels mark buy/sell signals

  • Colored points appear when the Hull trend shifts up or down

This combination allows for intuitive and immediate signal interpretation directly on the price chart.


6. Best Use Case Scenarios

This indicator is suitable for:

  • Trend-following strategies: Especially effective when the market is trending

  • Momentum confirmation: Avoids counter-trend signals by requiring alignment with stochastic crossovers

  • Multi-timeframe analysis: Can be adjusted to function on any timeframe from intraday to weekly charts

To minimize false signals, it is recommended to use this indicator in markets or instruments known for clean, directional movement and to combine it with higher timeframe confirmation.


7. Conclusion

The Hull MA + Stochastic Signals indicator delivers a practical and powerful trading solution by uniting trend analysis and momentum confirmation. With its flexible configuration and clear visual output, it offers a robust tool for traders seeking precision entries in trending environments. Whether you prefer smoother exponential readings or sharper trend shifts, the selectable Hull MA variants adapt to your trading style and asset class.

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

avatar
Register or

Likes

avatar avatar avatar avatar avatar
Related users ' posts
Razz Hello, thank you for your indicator. Can you please tell me how I can change the text size,...
Iván Hi! you have all information about it here (https://www.prorealcode.com/documentation/drawte...
Miro Mis felicitaciones por este indicador. Funciona muy bien en el corto plazo. Gracias gracias ...
Stenozar Ciao IVAN , mi da errore per la riga 49 "print tema low"; puoi suggerirmi la modifica da met...
Iván Avete provato a scaricare il file .itf?
AndyB72 Caricato ora sulla V12, nessun errore.
luxrun Grazie Ivàn, è possibile realizzare uno screener con questo indicatore?
Stenozar Ciao Ivan, ti è possibile tradurre l'indicatore che avevo segnalato qui? https://www.prorea...
oliTR Very good Iván ! However what would be the modification to add to the code in order to dis...
MARTINALA CARTINA grazie mille magnifico,si in effetti se ci fosse la possibilta di impostare orai predefiniti...
effegi Very good! A nice job
marcov66 Holá Ivan! Complimenti per l´indicatore! Secondo te con la nuova V12 avendo ora a disposizio...
Iván Grazie! In realtà, anche se gli indicatori di cui parli sono presenti nella nuova versione, ...
marcov66 Infatti, il Volume profile, il POC, le VA il CVD sono finalmente disponibili su PRT V12. Sec...
Iván Allora crei un nuovo post. Lo aspetterò.
Stenozar Ciao Ivan, ho inserito il post con la richiesta di traduzione. Se puoi vedere, grazie!
Iván perfect!
kats BONSOIR c bon merci j ai trouve ce weekend merci de votre reponse cdlt
the_giorgio Hi, nice work I would like to understand something about prorealtime code. With your ...
Iván Hello. When you use the drawcandle() instruction then in the configuration window you add ...
Iván Hi, Sorry, but what do you mean?
luiskohnen Hola, queria saber si el indicador repinta, porque a mi me parecio que si. Saludos y gracias...
Diamant Bonsoir, L'un d'entre vous peut-il me donner les définissions de LL-HH-LH et HL. Merci d'av...
kats BONJOUR je lai mis sur du renko , il est complexe car toujours a l'envers??? Peut être ne ...
RTR Great tool again and great job, thank you! So from what I see everytime Z-Score is over 0 m...
yas hi ivan I have logged this last week if when you get a chance if this can be converted ple...
Gaspare Ciao Ivan si puo' inserire una strategia su questo indicatore per ottimizzare le variabil...
Regisnew Bonjour Ivan serait il possible de proposer un screener pour détecter les zones de support v...
bembel242 Hello Ivan ! A belated HNY ! I know late ! Quick question on theis great indicator plse. I u...
gp38super Wow! This is GOLD! Great job!
larouedegann TIMEFRAME(15minutes) apparemment ne fonctionne pas
Iván Bonjour Je ne comprends pas bien le problème. L'indicateur fonctionne dans n'importe quelle...
larouedegann OUI je le sais, il fonctionne dans toutes les unités de temps. Mais je souhaite utiliser l'i...
Iván
1 year ago
Iván Si lo descargas e importas en tu PRT verás que se han creado las variables para luego config...
WhyAskOZ Hi, Ivan As always you are doing great coding. The code works on my PRT, however the issu...
Iván You can delete in the last line (return) the configuration for color. Delete coloured(xx,xx,...
Iván
1 year ago
Danger Zones Indicator
Danger Zones Indicator
4
Indicators
Iván Thank you very much!
Claudio Good morning Ivan. I try to use this indicator but I receive the automatic message on line 7...
Iván Hi Claudio The indicator works fine. Maybe you are with PRT11 instead PRT12?
Bernard13 (Je réécris mon commentaire -français- en français car certains mots ne correspondaient pas ...
Iván 1000 indicateurs !!! brutaux
Iván Gracias! Para el screener sólo tienes que copiar el indicador y poner como condición de búsq...
Lean Muchas gracias Iván, ya lo he podido crear.
bertoluce Hello Ivan, thank you very much for the indicator. An observation: would it be possible (and...
Iván sería así //------------------Inputs------------------------------ linreglength = 11//i...
Doddge Muchísimas gracias Iván, está genial.
superfalcio holaaa, have you run some statistics?
Doddge Hola Iván, ¿sería posible crear un screener que indique cuándo las velas coloreadas del indi...
RTR Ivan thank you for the pro-screener. I a trying to understand how to write the signals from ...
Iván Hi, Lines 62 and 63. These lines define buy and sell conditions.

Top