Mass Index

Mass Index is a free indicator by DinexSpace for MT5. Measures whether the bar range is expanding or contracting and flags the 'reversal bulge' pattern.

Download .zipDetailed installation guide6.3 KB · 5 files · no sign-up

What Mass Index does

Mass Index is a free indicator by DinexSpace for MT5. Measures whether the bar range is expanding or contracting and flags the 'reversal bulge' pattern.

Enable JavaScript to see the chart.

Chart powered by TradingView Lightweight Charts™ (Apache-2.0 license). tradingview.com

The candles and indicator lines above come straight from the MT5 version running in the Strategy Tester (XAUUSD H1); nothing is recalculated in the browser. Press ▶ to replay bar by bar.

DinexSpace Mass Index is an indicator for MetaTrader 5 that measures how much the high-low range of the bars is widening or narrowing, and marks the "reversal bulge" pattern described by Donald Dorsey. E1 is an EMA of high minus low, E2 is an EMA of E1, and the Mass Index is the sum of E1 / E2 over the last 25 bars. A bulge is marked when the index rises above the upper level and later falls back below the lower level.

When to use it

Use it as a warning that the trend may change.

Features and modes

Mass Index has 3 documented features: Mass Index line; Two reference levels; Bulge marks.

Key Features

  1. Mass Index line
    • The classic formula with EMA period 9 and a 25-bar sum by default, in a separate window.
  2. Two reference levels
    • Dotted levels at 27 and 26.5 by default, set from the inputs.
  3. Bulge marks
    • A dot appears on the bar where the index drops below the lower level after having been above the upper level. Each rise above the upper level allows one mark.

How to Use

  1. Attach the indicator to a chart; it opens in its own window.
  2. Keep the classic settings or adjust the levels to the range behaviour of your symbol.
  3. Read the bulge marks on closed bars as a sign that range expansion has peaked, and look at price for the direction.

Parameters

Mass Index has 5 inputs; every input and its default is listed below.

  • EMA period of the high-low range (default 9)
  • Number of ratios summed (default 25)
  • Upper bulge level (default 27.0) and lower bulge level (default 26.5)
  • Alert when a closed bar completes a bulge (default off)
  • Colours and width of the line and dots from the Colors tab
Mass Index inputs – MT5 version
InputDefaultLabel in MT5
InpEMAPeriod9EMA period of the high-low range
InpSumPeriod25Number of ratios summed
InpBulgeHigh27.0Bulge upper level
InpBulgeLow26.5Bulge lower level
InpAlertsfalseAlert when a closed bar completes a bulge

Signals

The free version of Mass Index has no separate buy/sell signal system with SL and TP; it marks the chart as described under Features, and you decide how to trade it.

Alerts

Yes. Mass Index has built-in alerts: MT5 – pop-up.

  1. Optional alert
    • One alert per closed bar that completes a bulge, with symbol, timeframe and index value.

Buffers for Expert Advisors

Yes. The MT5 version of Mass Index exposes its plots as indicator buffers that an EA can read with iCustom and CopyBuffer: Mass Index, Reversal bulge.

  1. Buffers for Expert Advisors
    • Buffer 0 holds the Mass Index and buffer 1 the bulge marks (EMPTY_VALUE when there is no mark), readable with iCustom and CopyBuffer.

Timeframes and markets

Mass Index runs on any chart timeframe. Its calculation reads the chart timeframe or a fixed timeframe (for example D1 or a higher timeframe), as described under Features.

Limitations

Mass Index is an analysis tool, not a trading system. Its documented limitations are listed below.

  • It does not open, close or modify any trade; it only reads and displays market data.
  • The Mass Index shows range expansion only; it says nothing about the direction of the next move.
  • Values and marks of closed bars do not change. The forming bar moves with price, and a mark on it can appear and disappear until the bar closes. The alert uses the last closed bar only.
  • The first value appears after two EMA periods plus the sum period.
  • The 27 and 26.5 levels come from daily stock charts. On forex or gold at lower timeframes bulges can be very rare or very frequent, so adjust the levels. Weekend and session gaps make the range jump.

A compact Mass Index with bulge marks and readable buffers.

Mass Index FAQ

Mass Index is free, runs on MT5 and does not place trades.

Is Mass Index free?

Yes. Mass Index is free to download from this page with no sign-up, and the download includes the full source code.

Which platforms does Mass Index run on?

Mass Index is available for MetaTrader 5 (MQL5).

Does Mass Index give buy and sell signals?

The free version of Mass Index has no separate buy/sell signal system with SL and TP; it marks the chart as described under Features, and you decide how to trade it.

Does Mass Index have alerts?

Yes. Mass Index has built-in alerts: MT5 – pop-up.

Can an EA read Mass Index?

Yes. The MT5 version of Mass Index exposes its plots as indicator buffers that an EA can read with iCustom and CopyBuffer: Mass Index, Reversal bulge.

Which timeframes does Mass Index work on?

Mass Index runs on any chart timeframe. Its calculation reads the chart timeframe or a fixed timeframe (for example D1 or a higher timeframe), as described under Features.

Does Mass Index place trades?

No. It is a read-only indicator: it only reads market data and shows the result on the chart or writes it to a file. The source contains no calls that open, close or modify orders.

How do I install Mass Index?

Download the .zip and follow the step-by-step installation guide for MT5: https://indicators.dinexspace.com/install-guide/

Measured win rates (backtest)

Measured (signal-by-signal check against MT5: in progress)

Out of sample on H1: 6 of 18 symbols above break-even after costs.

Swipe sideways to see every timeframe.

Out of sample: 2024-01-01 to 2026-11-16
SymbolM15H1H4D1
AUDUSD46.0% (n=454; break-even 59.8%)52.6% (n=38; break-even 54.4%)––
AUS200––––
BNB–53.1% (n=129; break-even 56.2%)42.1% (n=38; break-even 52.8%)–
BTCUSD49.4% (n=852; break-even 53.0%)50.0% (n=137; break-even 51.4%)49.0% (n=51; break-even 50.7%)–
ETHUSD45.3% (n=773; break-even 55.8%)54.4% (n=136; break-even 52.9%)44.2% (n=43; break-even 51.3%)–
EURUSD49.3% (n=653; break-even 56.2%)56.1% (n=41; break-even 52.8%)––
GBPUSD47.3% (n=697; break-even 56.6%)56.1% (n=41; break-even 53.0%)––
GER4049.1% (n=647; break-even 52.9%)40.0% (n=55; break-even 51.6%)––
JP22542.6% (n=340; break-even 56.4%)48.2% (n=56; break-even 53.0%)––
NAS10048.7% (n=715; break-even 51.4%)45.7% (n=81; break-even 50.7%)––
NZDUSD40.5% (n=370; break-even 63.3%)45.2% (n=42; break-even 56.5%)––
SOLUSD31.2% (n=655; break-even 81.2%)31.5% (n=108; break-even 64.6%)42.9% (n=35; break-even 55.2%)–
UK10042.8% (n=633; break-even 59.6%)40.5% (n=37; break-even 55.5%)––
US3046.4% (n=754; break-even 51.9%)50.0% (n=72; break-even 50.9%)––
US50047.9% (n=736; break-even 53.8%)46.1% (n=89; break-even 51.8%)––
USDCAD46.9% (n=647; break-even 59.8%)–––
USDCHF44.2% (n=629; break-even 60.6%)32.7% (n=55; break-even 54.7%)––
USDJPY46.4% (n=487; break-even 57.4%)55.7% (n=70; break-even 53.6%)––
WTI47.5% (n=735; break-even 54.7%)55.8% (n=43; break-even 52.1%)––
XAGUSD44.9% (n=711; break-even 57.2%)63.2% (n=57; break-even 52.7%)––
XAUUSD48.5% (n=555; break-even 51.7%)–measured up to 2024-10-16––

No data: HK50, KOSPI

Swipe sideways to see every timeframe.

In sample: through 2023-12-31
SymbolM15H1H4D1
AUDUSD45.1% (n=184; break-even 56.1%)44.0% (n=150; break-even 51.2%)45.0% (n=40; break-even 50.5%)–
AUS20040.0% (n=45; break-even 55.4%)–––
BNB–45.1% (n=284; break-even 53.9%)46.6% (n=88; break-even 51.9%)–
BTCUSD–45.4% (n=86; break-even 51.0%)––
ETHUSD–47.8% (n=69; break-even 52.0%)––
EURUSD42.7% (n=288; break-even 57.0%)49.2% (n=193; break-even 51.3%)46.0% (n=37; break-even 50.5%)–
GBPUSD44.0% (n=293; break-even 53.3%)56.0% (n=141; break-even 50.7%)50.0% (n=38; break-even 50.4%)–
GER4046.3% (n=460; break-even 51.3%)43.1% (n=109; break-even 50.2%)––
JP22546.0% (n=202; break-even 52.8%)64.0% (n=50; break-even 50.5%)––
NAS10053.0% (n=355; break-even 51.4%)51.6% (n=186; break-even 50.1%)50.0% (n=48; break-even 50.0%)–
NZDUSD51.2% (n=162; break-even 59.8%)49.1% (n=167; break-even 52.3%)40.5% (n=37; break-even 51.3%)–
SOLUSD–44.6% (n=65; break-even 50.1%)––
UK10044.4% (n=387; break-even 52.2%)58.1% (n=86; break-even 50.5%)––
US3048.6% (n=354; break-even 51.7%)53.3% (n=167; break-even 50.1%)45.8% (n=48; break-even 50.0%)–
US50048.0% (n=358; break-even 53.2%)54.4% (n=182; break-even 50.2%)46.8% (n=47; break-even 50.1%)–
USDCAD47.2% (n=290; break-even 55.5%)57.1% (n=126; break-even 50.8%)45.2% (n=31; break-even 50.3%)–
USDCHF44.3% (n=282; break-even 59.4%)51.5% (n=167; break-even 51.4%)40.6% (n=32; break-even 50.7%)–
USDJPY46.8% (n=205; break-even 55.7%)50.7% (n=280; break-even 51.4%)41.8% (n=79; break-even 50.8%)–
WTI50.7% (n=357; break-even 52.6%)50.5% (n=107; break-even 50.1%)56.2% (n=32; break-even 50.0%)–
XAGUSD43.5% (n=395; break-even 57.5%)48.4% (n=254; break-even 57.6%)49.1% (n=59; break-even 54.2%)–
XAUUSD48.7% (n=339; break-even 52.3%)47.3% (n=279; break-even 51.3%)52.4% (n=63; break-even 50.7%)–

No data: HK50, KOSPI

Also measured: 1:2 and 1:3 TP win rates
Also measured: 1:2 and 1:3 TP win rates
Sample · symbol · timeframe1:21:3
Out of sample: 2024-01-01 to 2026-11-16 · AUDUSD · M1527.3%19.4%
Out of sample: 2024-01-01 to 2026-11-16 · AUDUSD · H126.3%21.1%
Out of sample: 2024-01-01 to 2026-11-16 · BNB · H138.3%30.5%
Out of sample: 2024-01-01 to 2026-11-16 · BNB · H435.1%27.8%
Out of sample: 2024-01-01 to 2026-11-16 · BTCUSD · M1531.4%23.7%
Out of sample: 2024-01-01 to 2026-11-16 · BTCUSD · H131.6%25.0%
Out of sample: 2024-01-01 to 2026-11-16 · BTCUSD · H437.2%23.5%
Out of sample: 2024-01-01 to 2026-11-16 · ETHUSD · M1529.6%22.3%
Out of sample: 2024-01-01 to 2026-11-16 · ETHUSD · H140.0%33.3%
Out of sample: 2024-01-01 to 2026-11-16 · ETHUSD · H434.9%25.6%
Out of sample: 2024-01-01 to 2026-11-16 · EURUSD · M1534.2%23.9%
Out of sample: 2024-01-01 to 2026-11-16 · EURUSD · H139.0%31.7%
Out of sample: 2024-01-01 to 2026-11-16 · GBPUSD · M1533.3%25.9%
Out of sample: 2024-01-01 to 2026-11-16 · GBPUSD · H136.6%24.4%
Out of sample: 2024-01-01 to 2026-11-16 · GER40 · M1534.0%27.1%
Out of sample: 2024-01-01 to 2026-11-16 · GER40 · H129.1%18.2%
Out of sample: 2024-01-01 to 2026-11-16 · JP225 · M1532.4%25.0%
Out of sample: 2024-01-01 to 2026-11-16 · JP225 · H133.9%28.6%
Out of sample: 2024-01-01 to 2026-11-16 · NAS100 · M1534.1%23.7%
Out of sample: 2024-01-01 to 2026-11-16 · NAS100 · H134.6%27.2%
Out of sample: 2024-01-01 to 2026-11-16 · NZDUSD · M1523.0%17.6%
Out of sample: 2024-01-01 to 2026-11-16 · NZDUSD · H128.6%23.8%
Out of sample: 2024-01-01 to 2026-11-16 · SOLUSD · M1525.1%19.1%
Out of sample: 2024-01-01 to 2026-11-16 · SOLUSD · H125.0%20.8%
Out of sample: 2024-01-01 to 2026-11-16 · SOLUSD · H431.4%23.5%
Out of sample: 2024-01-01 to 2026-11-16 · UK100 · M1526.2%19.8%
Out of sample: 2024-01-01 to 2026-11-16 · UK100 · H135.1%24.3%
Out of sample: 2024-01-01 to 2026-11-16 · US30 · M1530.9%22.6%
Out of sample: 2024-01-01 to 2026-11-16 · US30 · H130.6%22.2%
Out of sample: 2024-01-01 to 2026-11-16 · US500 · M1533.9%25.4%
Out of sample: 2024-01-01 to 2026-11-16 · US500 · H125.8%19.3%
Out of sample: 2024-01-01 to 2026-11-16 · USDCAD · M1530.0%23.1%
Out of sample: 2024-01-01 to 2026-11-16 · USDCHF · M1527.0%19.6%
Out of sample: 2024-01-01 to 2026-11-16 · USDCHF · H120.0%16.4%
Out of sample: 2024-01-01 to 2026-11-16 · USDJPY · M1532.4%24.3%
Out of sample: 2024-01-01 to 2026-11-16 · USDJPY · H140.0%33.3%
Out of sample: 2024-01-01 to 2026-11-16 · WTI · M1534.0%25.9%
Out of sample: 2024-01-01 to 2026-11-16 · WTI · H141.9%23.3%
Out of sample: 2024-01-01 to 2026-11-16 · XAGUSD · M1528.7%22.6%
Out of sample: 2024-01-01 to 2026-11-16 · XAGUSD · H128.1%19.3%
Out of sample: 2024-01-01 to 2026-11-16 · XAUUSD · M1533.5%26.2%
In sample: through 2023-12-31 · AUDUSD · M1525.0%20.1%
In sample: through 2023-12-31 · AUDUSD · H126.7%20.7%
In sample: through 2023-12-31 · AUDUSD · H430.0%25.0%
In sample: through 2023-12-31 · AUS200 · M1528.9%24.4%
In sample: through 2023-12-31 · BNB · H127.5%19.1%
In sample: through 2023-12-31 · BNB · H433.0%27.6%
In sample: through 2023-12-31 · BTCUSD · H125.6%18.8%
In sample: through 2023-12-31 · ETHUSD · H130.4%21.7%
In sample: through 2023-12-31 · EURUSD · M1528.5%21.9%
In sample: through 2023-12-31 · EURUSD · H135.9%27.1%
In sample: through 2023-12-31 · EURUSD · H429.7%16.2%
In sample: through 2023-12-31 · GBPUSD · M1531.4%24.7%
In sample: through 2023-12-31 · GBPUSD · H136.2%25.0%
In sample: through 2023-12-31 · GBPUSD · H439.5%27.0%
In sample: through 2023-12-31 · GER40 · M1532.8%25.4%
In sample: through 2023-12-31 · GER40 · H129.4%23.8%
In sample: through 2023-12-31 · JP225 · M1536.1%31.7%
In sample: through 2023-12-31 · JP225 · H156.0%50.0%
In sample: through 2023-12-31 · NAS100 · M1534.9%26.0%
In sample: through 2023-12-31 · NAS100 · H132.3%23.7%
In sample: through 2023-12-31 · NAS100 · H429.2%12.5%
In sample: through 2023-12-31 · NZDUSD · M1530.9%22.2%
In sample: through 2023-12-31 · NZDUSD · H131.7%23.4%
In sample: through 2023-12-31 · NZDUSD · H429.7%21.6%
In sample: through 2023-12-31 · SOLUSD · H127.7%21.9%
In sample: through 2023-12-31 · UK100 · M1532.8%23.8%
In sample: through 2023-12-31 · UK100 · H137.2%24.4%
In sample: through 2023-12-31 · US30 · M1531.9%22.1%
In sample: through 2023-12-31 · US30 · H131.1%22.3%
In sample: through 2023-12-31 · US30 · H427.1%22.9%
In sample: through 2023-12-31 · US500 · M1534.4%23.8%
In sample: through 2023-12-31 · US500 · H139.0%29.7%
In sample: through 2023-12-31 · US500 · H436.2%27.7%
In sample: through 2023-12-31 · USDCAD · M1530.3%23.8%
In sample: through 2023-12-31 · USDCAD · H139.7%30.9%
In sample: through 2023-12-31 · USDCAD · H435.5%29.0%
In sample: through 2023-12-31 · USDCHF · M1529.1%20.9%
In sample: through 2023-12-31 · USDCHF · H133.5%26.5%
In sample: through 2023-12-31 · USDCHF · H421.9%12.5%
In sample: through 2023-12-31 · USDJPY · M1529.3%21.1%
In sample: through 2023-12-31 · USDJPY · H135.1%27.6%
In sample: through 2023-12-31 · USDJPY · H430.4%20.5%
In sample: through 2023-12-31 · WTI · M1534.4%26.1%
In sample: through 2023-12-31 · WTI · H127.1%20.6%
In sample: through 2023-12-31 · WTI · H434.4%25.0%
In sample: through 2023-12-31 · XAGUSD · M1529.4%21.8%
In sample: through 2023-12-31 · XAGUSD · H129.9%21.3%
In sample: through 2023-12-31 · XAGUSD · H430.5%17.2%
In sample: through 2023-12-31 · XAUUSD · M1534.2%26.6%
In sample: through 2023-12-31 · XAUUSD · H129.8%23.8%
In sample: through 2023-12-31 · XAUUSD · H433.3%30.2%

What counts as a win

  • W1: take profit before stop loss. Stop loss = 1.5 × ATR(14) Wilder of the signal bar; shown take profit = 1 × stop loss (1:1). Entry is at the signal bar close. Buy pays the spread at entry; sell pays it at exit. If stop loss and take profit occur in the same M15 bar, count a loss. No result within 200 bars is not counted.
  • W2 direction after 5, 10 and 20 bars is measured too.
  • Default inputs require confluence ≥ 4/7.
  • In sample: first bar to 2023-12-31; out of sample: 2024-01-01 to 2026-11-16.
  • Costs: Real spread of an ECN-type MT5 account, no commission.
  • Data source: MT5 tick data (BNB: Binance spot).
  • Cells with fewer than 30 signals show –.

TradingView H4/D1 bars may follow the exchange time zone of the TradingView symbol, not the MT5 server time (UTC) used for the measurement; sessions and the H4 trend may differ on the Pine version. Same signals on TradingView not checked yet.

Arrows show one rate for all markets: 48% (n = 9102).

What this version adds

  • Standard Mass Index versions on MT5 or TradingView do not show a measured win rate for their signals.
  • Every arrow shows its measured win rate, e.g. "Buy 1:1 48% all mkts (n=9102)" (one rate for all markets: the per-market rates were not better out of sample). Measured on 20 MT5 symbols + BNB, M15 to D1, in and out of sample.
  • Signals on closed bars only; 7-factor confluence score, by default only signals scoring 4/7 or more.
  • ATR-based SL/TP suggestions, per-bar odds, standard buffers for EAs, one alert per closed bar.
  • On gold: GII panel and an optional GII side filter (off by default: GII is not validated yet).

Past test statistics are not a promise of future results.

More in this category

All Volatility indicators

ADR Panel

Volatility · Indicator

Shows the Average Daily Range and how much of it price has already covered today. Use it to set realistic intraday profit targets.

FreeMT5TradingViewMeasured

ATR Volatility Percentile

Volatility · Indicator

Ranks the current ATR as a percentile of its own history, so you can see at a glance whether the market is unusually quiet or unusually volatile.

FreeMT5TradingViewMeasured

Keltner Channel

Volatility · Indicator

An EMA midline with two bands set an ATR multiple away. Use it to see whether price is stretched or moving within its normal range.

FreeMT5Measured

MA Distance ATR

Volatility · Indicator

The distance from price to a moving average, measured in ATR units. Use it to compare how stretched different symbols are.

FreeMT5Measured