Hull Moving Average - page 44

 

Forum on trading, automated trading systems and testing trading strategies

Manual systems discussion

Sergey Golubev, 2026.09.03 12:30

Building a Hull Moving Average Momentum Oscillator in MQL5

Building a Hull Moving Average Momentum Oscillator in MQL5

Momentum indicators are widely used to evaluate the strength and direction of price movements, but raw momentum values often contain short-term fluctuations that can make changes in momentum difficult to interpret. This article demonstrates how to build a Hull Moving Average Momentum Indicator in MQL5 by combining a traditional momentum calculation with Hull Moving Average smoothing to produce a more responsive and smoother oscillator.

The indicator can help track momentum behavior and reduce short-term fluctuations in the momentum series. It can also provide directional information for discretionary analysis or as part of a broader trading strategy. To achieve this, we will calculate the momentum series and smooth it with the Hull Moving Average. We will then visualize the result with a color-coded oscillator and zero-line filling and implement the indicator step by step in MQL5. We will also discuss behavior around the zero line and limitations in flat market conditions.