26 October, 2026

Hull Moving Average (HMA) — Trend Indicator for MetaTrader 5

Indicators
RU EN

Hull Moving Average (HMA) is a trend-following indicator for the MetaTrader 5 platform, based on Alan Hull’s algorithm. It aims to reduce lag and improve responsiveness compared to traditional moving averages. The HMA changes color when the trend direction shifts — green for bullish, red for bearish. However, according to fortrader, it suffers from repainting on the current (live) bar. Therefore, traders should either wait for confirmation at the opening of a new bar or use price position relative to the HMA line as a filter.

The Hull Moving Average for MetaTrader 5 can serve as a solid addition to long-term Forex strategies. Still, it must be thoroughly tested in advance on your chosen currency pair and timeframe to ensure reliability and alignment with your trading rules.

Hull Moving Average - trend indicator for MT5
Hull Moving Average — trend indicator for MetaTrader 5

Download Hull Moving Average indicator (save to \MQL5\Indicators\)

Download SmoothAlgorithms.mqh library (save to \MQL5\Include\)

FAQ

Does the Hull Moving Average repaint?

Yes — the HMA recalculates and may repaint on the current (incomplete) bar. Avoid entries based solely on real-time HMA signals.

How do I install HMA on MetaTrader 5?

Copy the .mq5 file to \MQL5\Indicators\ and the SmoothAlgorithms.mqh library to \MQL5\Include\, then restart MT5.

Is HMA suitable for scalping?

No — due to its sensitivity and repainting behavior, HMA is better suited for swing or position trading on higher timeframes (H1 and above).

Subscribe to us on Telegram

Fortrader contentUrl Suite 11, Second Floor, Sound & Vision House, Francis Rachel Str. Victoria Victoria, Mahe, Seychelles +7 10 248 2640568

More from this category

All articles

Recent educational articles

All articles

Editor recommends

All articles