TREND, MOVING AVERAGES & STRUCTURE

Hull MA

A trend line that manages to be both smooth and quick — the usual trade-off, mostly dodged.

spec id: hmalength (default 16)

What does Hull MA measure?

A trend line that manages to be both smooth and quick — the usual trade-off, mostly dodged.

How is Hull MA calculated?

Take a weighted average over half of 16 candles, double it, and subtract a weighted average over the full 16. Then smooth that result again over roughly the square root of 16 candles.

Written by reading the engine’s real computation, not a textbook — where the two differ, the page describes what actually runs.

How do I use Hull MA in a bot?

In the builder, add an indicator of type hma (parameters: length, default 16). Its value becomes an operand you can compare in any entry or exit rule. The engine grades the whole rule honestly: real fills, no look-ahead, half the history held back.

Related indicators

Or browse all 158 indicators in the full library.

Build a bot that trades on Hull MA — the first backtest is free.

Run a free backtest