You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I see this post.
I know very similar volume indicator programmed by Igorad and may be other indicators coded by other coders.
Check this thread: https://www.mql5.com/en/forum/178673
Hull moving average - indicator for MetaTrader 4
By Alan Hull
Back in 2005 when I was working on a new indicator I was temporarily sidetracked by trying to solve the problem of lag in moving averages, the outcome of which was the Hull Moving Average.
Since then the HMA has found its way into charting programs around the world and is regularly discussed on traders bulletin boards in different languages around the world. It was the result of an intellectual curiosity which I placed into the public domain by writing the following article Alan Hul Hull Moving Average.
The Hull Moving Average solves the age old dilemma of making a moving average more responsive to current price activity whilst maintaining curve smoothness. In fact the HMA almost eliminates lag altogether and manages to improve smoothing at the same time.
To understand how it achieves both of these opposing outcomes simultaneously we need to start with an easily understood frame of reference. The following chart contains a 16 week simple moving average which constantly lags the price activity and has poor smoothness.
Hull Moving Average (HMA) formula
Integer(SquareRoot(Period)) WMA [2 x Integer(Period/2) WMA(Price) - Period WMA(Price)]
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.