Mass Index Calculator
Calculate Mass Index from entered high-low ranges with the first EMA, second EMA, ratio, rolling sum and complete warm-up boundary visible.
Enter EMA, sum period and ordered HLC bars
The first and second EMAs are seeded from the first entered high-low range. The classic defaults are EMA 9 and sum period 25.
One completed bar per line. Close must lie inside the high-low range. Separate values with commas, semicolons or tabs.
Latest Mass Index state
Entered Ultimate, Vortex and Mass Index 1.0.0.
| Label | Index | High | Low | Close | Range | First EMA | Second EMA | EMA ratio | Mass Index | State |
|---|
How Mass Index is calculated
EMA1 = first-range-seeded EMA(range, E)
EMA2 = first-value-seeded EMA(EMA1, E)
Mass Index = sum of EMA1 ÷ EMA2 over the latest N reportable ratios
Version 1.0.0 uses alpha 2 divided by E plus one. It withholds ratios until two complete EMA warm-ups, at index 2 × (E − 1), then requires N ratios before reporting Mass Index.
This explicit entered-history boundary can differ from a chart platform that carries older hidden bars or uses another smoothing algorithm.
Assumptions and limits
- EMA and sum periods must be whole numbers from 2 to 200.
- Minimum rows equal 2 × (EMA period − 1) + sum period.
- A zero second EMA at any reportable ratio is undefined and is rejected.
- Rows must use one symbol, timeframe and broker feed.
- Reversal, bulge, direction, timing, entry and exit interpretations are withheld.
Worked example from the audited fixture
How to interpret the result
Mass Index accumulates a ratio of two differently warmed range EMAs; it does not use price direction. The value depends on the entered history and both warm-up stages. No reversal-bulge threshold or trading condition is assigned.
Frequently asked questions
- Enter EMA and ratio-sum periods plus enough ordered high-low-close bars for two EMA warm-ups and one complete sum window.
- Each source value is current high minus current low; close is retained for row validation and audit context.
- The first EMA starts from the first entered range, and the second EMA starts from that first EMA value.
- A reportable ratio divides the first range EMA by the second range EMA.
- It is the rolling sum of the latest N reportable first-EMA divided by second-EMA ratios.
- The first ratio appears at zero-based index two times EMA period minus one.
- It appears at zero-based index two times EMA period minus one, plus the sum period minus one.
- No. Reversal, bulge, direction, timing, entry and exit interpretations are withheld.
Sources and methodology
- MetaQuotes Code Base — Mass Index — Published sum of EMA-range to double-EMA-range ratios.
Continue entered range analysis
Compare the chart feed and trading terms
Use one broker feed, symbol and timeframe for every entered observation, and compare the source history with your terminal before relying on a platform match.
Risk and affiliate disclosure: Leveraged forex and CFD trading can result in substantial losses. These are affiliate links, so ForexMT4Indicators.com may receive compensation if you register or trade through them, at no additional cost to you. Availability and terms vary by jurisdiction and broker entity.

