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
Related users ' posts
jacquesgermain
7 months ago
NicoGB67 me sigue dando error en algunas líneas: 8, 44, 45, 46, 47 y 49, no sé si será por la traducc...
jacquesgermain voir le forum proscreener topic "screener momentum bias" je vous ai déposé le fichier momen...
jacquesgermain
7 months ago
jacquesgermain à utiliser en unité de temps jour
patapouf Pourrait-on créer un screener sur la base de cet indicateur, dont l'idée semble très pertine...
jacquesgermain le voici (détecte le croisement bande haute ou bande basse) : timeframe(monthly) c1=open ...
okeus Ivan, riesci a creare un indicatore per le "evolventi paraboliche" ? grazie
groelandes Impagable tu trabajo cada semana. ¡Gracias!
Iván de nada! :)
Row trading Hi, to see the current day put : for y = i-1 to i-1 do to see all days put : for y = 1 t...
Razz Hi, thanks for your answer. I'll keep an eye on the whole thing, I've now expanded it to in...
Razz Adding an image did not work : https://www.directupload.eu/file/d/8765/3ez6bzlq_png.htm
groelandes Me uno al comentario de Edelmiro. Un millón de gracias por el trabajo constante, dándonos in...
JohnScher Ja, das würde mich auch interessieren
MARTINALA CARTINA ciao,complimenti .SIispira ai canali di migliorino per caso?grazie
Iván
9 months ago
Madrosat Bonjour Ivan je ne sais pas si je dois écrire en Français ,anglais ,espagnol ,il y a les 3 ...
Iván Bonjour, la vérité est que ce n'est pas aussi facile qu'il n'y paraît.... Un indicateur peut...
Madrosat Merci Ivan j'espère que ce jour viendra bientôt , je sais que ce n'est pas facile car les in...
Iván
9 months ago
Madrosat Bonjour ivan Quelle différence il y a t il entre Extra trend et ultra trend lequel est le p...
P. Marlowe Muy bueno. ¿Podría hacerse para señalar extremos por el lado bajista? Lo mismo a la inversa....
Miro Esta es una versión del indicador, para ambos extremos. //-------------------------------...
P. Marlowe Muchas gracias ¡¡
Iván Hi! Yes that's it. The indicator draws the rectangle after close
bacmozbee Congratulations and many thanks for sharing your code Ivan. Clear and customizable.. added t...
Gibban Hi Iván, Thanks for this nice indicator! I am trying to figure out how to use the variable ...
@toniyecla ¡gracias! más capturas aqui: https://www.prorealcode.com/wp-content/uploads/2024/10/IC...
robert123 I had a go at the 'order block' version- badly done I'm sure....but a start. // Sonarlabs ...
robert123 take ''sens1 = 5'' out and put ''rango'' in as variable
@toniyecla y más opciones: añade una línea también en sesiones EUROPA y USA (configurable) y un texto o...
@toniyecla // Author: toniyecla - contact@rescommunesomnium.com // VARIABLES // EspHorarioVerano (b...
Schizophunk Hola Toni, Muchas gracias por el indicador. Estos dias he estado utilizandolo y me ha surgid...
Alai-n Hello, take a look at this formulation made by "Blade106", Topic link attached post #227334....
@toniyecla ¡interesante acercamiento! (no lo conocía, simplemente tuve la necesidad y lo programé) pers...
Iván
10 months ago
mortezaali14 Bonjour, qu'est-ce qu'un fichier itf ? Comment ça marche ?
mortezaali14 Hola, ¿qué es un archivo itf? ¿Cómo funciona?
Stenozar Hi Ivan, I can visualize only the central orange line but not the others, do you know why?...
MaoRai54 dear Ivan, it seems to be very interesting but please clarify what are all the lines I see i...
Iván Hi! you have the answer in the last line of code... MacdMiddle as "histo" style(histogra...
kats Le Top , a utiliser avec le nuage violet et alerte TN pour plus de précision.

Top