VOLATILITY, DISPERSION & CANDLES

Mass index

A reversal warning that watches the SHAPE of the range rather than direction.

spec id: mass_indexema_length (default 9) · sum_length (default 25)

What does Mass index measure?

A reversal warning that watches the SHAPE of the range rather than direction. A bulge above ~27 followed by a drop is the classic signal.

How is Mass index calculated?

Take each candle's high minus low, smooth it over 9 candles, smooth that again, and divide the first by the second. Then add up the last 25 of those ratios.

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 Mass index in a bot?

In the builder, add an indicator of type mass_index (parameters: ema_length, default 9; sum_length, default 25). 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 Mass index — the first backtest is free.

Run a free backtest