Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Hull Moving Average (HMA) - MetaTrader 5 Script | Forex Indicators Download - MT4/MT5 Resources

author EAcpu | 3 reads | 0 comments |

Hull Moving Average (HMA) - indicator for MetaTrader 5

The color of the Hull Moving Average (HMA) can be changed. HMA is used to determine market entry and exit.

The principle of this indicator is very simple: when the price rises, the line color changes to purple, and when the price falls, the line color changes to red.

The indicator color may change at the current bar, therefore, its main function is not the color but the price position. If the price is below the indicator line, a downtrend may be present, and if the price is above the indicator line, an uptrend may be present.

This indicator uses the SmoothAlgorithms.mqh library class (this file must be copied to the terminal data folder \MQL5\include). How to use the class "Average price series for intermediate calculations without using additional buffers" is described in detail in the article.

Hull Moving Average (HMA) - indicator for MetaTrader 5

Hull Moving Average


Attachment download

📎 colorhma.mq5 (6.04 KB)

📎 hma.mq5 (4.96 KB)

📎 smoothalgorithms.mqh (133.8 KB)

Source: MQL5 #549

Verification code Refresh