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
- Normalized ATRThe average true range stated as a percentage of price, so a $20 stock and a $600 stock can be compared on equal terms.
- Percent rankWhere today's value sits against its own recent history, as a 0-100 percentile.
- High-low rangeHow tall the candle was, top to bottom.
- SkewnessWhether recent prices lean up or down around their own average.
Or browse all 158 indicators in the full library.