Mass Index
systemic:core-miIndicatorsInputs
| Name | Type | Description |
|---|---|---|
| Window Fast | Whole number | The EMA window used to smooth the bar range, for both the first and the second smoothing. |
| Window Slow | Whole number | The number of bars over which the EMA ratio is summed to produce the Mass Index. |
| Price High | Number series | The highest price of each bar, one of the two inputs used to calculate the bar's range. |
| Price Low | Number series | The lowest price of each bar, paired with Price High to calculate the bar's range. |
Outputs
| Name | Type | Description |
|---|---|---|
| MI | Number series | The Mass Index of each bar, a volatility measure that rises when the price range expands. |
Cost
0.208 + 0.00581·n credits for n bars, rounded up. The marks are each plan's limit of bars.
The Mass Index is a volatility-based indicator developed by Donald Dorsey in 1992. Momentum indicators measure direction. The Mass Index measures how the price range expands and contracts, to detect when volatility is building toward a possible trend reversal.
Key insight: The Mass Index does not tell you which way the market will move, only that it may change direction soon. You need other indicators to tell bullish from bearish.
The Reversal Bulge Pattern
The best-known Mass Index signal is the "reversal bulge" (with the standard settings 9 and 25):
- MI rises above 27 (range is expanding rapidly)
- MI falls below 26.5 (expansion is exhausting)
- A trend reversal often follows
flowchart LR
subgraph Phase1["1. Buildup"]
A["MI rising toward 27"]
end
subgraph Phase2["2. Bulge"]
B["MI crosses above 27"]
end
subgraph Phase3["3. Trigger"]
C["MI drops below 26.5"]
end
subgraph Phase4["4. Signal"]
D["Reversal may follow"]
end
Phase1 --> Phase2 --> Phase3 --> Phase4
Mathematical Foundation
The Mass Index uses a ratio of EMAs to detect when price ranges expand unusually fast. Below, is Window Fast (classically 9) and is Window Slow (classically 25):
Step 1: Calculate the Bar Range
Step 2: Smooth the Range (Fast EMA)
Step 3: Double-Smooth (Slow EMA)
Step 4: Calculate the EMA Ratio
Step 5: Sum Over Window Slow Bars
Why This Formula Works
The ratio of the single EMA to the double EMA is normally close to 1.0 (when ranges are stable). When ranges start to expand quickly, the fast EMA reacts sooner than the slow EMA, which pushes the ratio above 1.0.
Summing 25 of these ratios (Window Slow = 25):
- Stable market: MI ≈ 25 (each ratio ≈ 1.0)
- Expanding ranges: MI > 27 (ratios consistently > 1.0)
- Contracting ranges: MI < 25 (ratios < 1.0)
flowchart TD
subgraph Inputs["Price Inputs"]
H["High prices"]
L["Low prices"]
end
subgraph Range["Bar Range"]
R["High − Low"]
end
subgraph Fast["Fast EMA"]
F["EMA of Range (Window Fast)"]
end
subgraph Slow["Slow EMA"]
S["EMA of Fast EMA (Window Fast)"]
end
subgraph Ratio["EMA Ratio"]
RAT["Fast / Slow"]
end
subgraph Sum["Mass Index"]
MI["Sum of Ratios (Window Slow)"]
end
H --> R
L --> R
R --> F --> S
F --> RAT
S --> RAT
RAT --> MI
Interpreting Mass Index Values
| MI Value | Market Condition | Implication |
|---|---|---|
| < 25 | Range contracting | Low volatility, trend may continue |
| 25-26 | Normal volatility | No signal |
| 26-27 | Range expanding | Watch for bulge formation |
| > 27 | Significant expansion | Reversal bulge forming |
| Drops below 26.5 (after >27) | Exhaustion | Reversal signal triggered |
Trading Strategies
Strategy 1: Classic Reversal Bulge
The textbook Mass Index strategy:
| Step | Condition | Action |
|---|---|---|
| 1 | MI rises above 27 | Note: volatility expanding |
| 2 | MI drops below 26.5 | Signal triggered |
| 3 | Check current trend | Determine reversal direction |
| 4 | Confirm with another indicator | Consider a trade |
Important: The Mass Index only signals that a reversal may occur, not in which direction. Use a trend indicator (EMA, ADX) to decide between long and short.
Strategy 2: MI + Moving Average
| Condition | Interpretation | Action |
|---|---|---|
| MI reversal bulge + Price below 50 EMA | Bearish trend exhausting | Look for long entry |
| MI reversal bulge + Price above 50 EMA | Bullish trend exhausting | Look for short entry |
Strategy 3: Volatility Confirmation
Use MI as a filter for other signals:
| MI State | Other Signal | Trade? |
|---|---|---|
| MI > 27 | Any entry signal | Wait—reversal coming |
| MI < 25 | Trend-following signal | Proceed—trend stable |
| MI dropping from 27+ | Breakout signal | High probability setup |
Missing Data
A bar is skipped when High or Low is missing on it. Both EMAs and the final sum use only the bars that have data: a Friday-to-Monday gap counts as one step, not three calendar days. Every skipped bar is empty in the output. The warm-up is empty too: the first 2 × Window Fast + Window Slow − 3 bars with data (40 bars with 9 and 25). Nothing is filled with an earlier value or with 0.
Note:
window_fastis used for both EMA stages.window_slowonly sets how many ratios are summed.
Configuration Parameters
| Parameter | Standard value | Description |
|---|---|---|
| Window Fast | 9 | EMA window for smoothing the bar range, used for both EMAs |
| Window Slow | 25 | Number of bars over which the EMA ratio is summed |
Note: The module has no built-in defaults. MI moves around the Window Slow value, so the 27 and 26.5 levels only apply when Window Slow is 25.
Alternative Configurations
| Style | Fast | Slow | Effect |
|---|---|---|---|
| Standard | 9 | 25 | Classic Dorsey settings |
| Sensitive | 7 | 25 | Earlier signals, more noise |
| Smooth | 12 | 25 | Fewer signals, more reliable |
Mass Index vs. Other Volatility Indicators
| Indicator | Measures | MI Advantage |
|---|---|---|
| ATR | Average range magnitude | MI detects changes in range, not absolute size |
| Bollinger Bands | Standard deviation | MI uses ratio approach, less lag |
| VIX | Implied volatility | MI works on any asset, uses price only |
| Keltner Channels | ATR-based bands | MI specifically designed for reversals |
Strengths
| Aspect | Benefit |
|---|---|
| Direction-agnostic | Works equally in uptrends and downtrends |
| Early warning | Signals form before the reversal, not after |
| Different approach | Measures range changes that other indicators ignore |
| Clear threshold | 27/26.5 levels provide objective signals |
Limitations
| Aspect | Challenge |
|---|---|
| No direction | Must combine with trend indicators |
| Rare signals | Bulges above 27 don't occur frequently |
| False signals | Can trigger in choppy, trendless markets |
| Requires confirmation | Do not rely on MI signals alone |
Combining MI with Other Modules
| Combination | Purpose |
|---|---|
| MI + EMA | Determine reversal direction (long vs. short) |
| MI + RSI | Confirm overbought/oversold at reversal |
| MI + MACD | Dual confirmation of momentum shift |
| MI + ADX | Verify trend strength before reversal |
| MI + ATR | Size positions based on current volatility |
Historical Context
Donald Dorsey introduced the Mass Index in a 1992 article in Technical Analysis of Stocks & Commodities magazine. His idea was that the price range often expands before a trend reversal: prices become more volatile before they change direction.
The indicator is still useful because it captures something most momentum indicators miss: the exhaustion of a trend, shown by rising volatility.
Data Alignment and Multi-Input Considerations
The Mass Index needs High and Low series that cover the same bars. Systemic aligns them by time:
Input Alignment
| Scenario | What Systemic Does | Impact on MI |
|---|---|---|
| Same data source, same period | No adjustment needed | Accurate range calculation |
| Different periods | The series with the longer period repeats its last value until its next bar | Ranges look more stable than they are |
| Different lengths | The result covers the dates that both series share | Shorter output |
Critical Alignment Warning
The Mass Index depends on the relationship between High and Low prices:
Mismatched data can produce:
- Negative ranges if Low is above High after alignment
- Ranges that look too stable when a value is repeated over several bars
- Distorted EMA ratios that give false reversal signals
Best Practice: Always take High and Low from the same data source and the same period. Never mix a daily High with an intraday Low.
Window Parameters
The window_fast and window_slow parameters are constants: one fixed value for the whole run. The run fails if the price series has fewer bars than the larger of the two.
Indicator Profile
quadrantChart
title MI Indicator Profile
x-axis Low Popularity --> High Popularity
y-axis Low Reliability --> High Reliability
quadrant-1 High potential
quadrant-2 Established leaders
quadrant-3 Niche tools
quadrant-4 Popular but risky
MI - Stocks: [0.35, 0.65]
MI - Crypto: [0.25, 0.55]
Profile Dimensions
| Dimension | Stocks | Crypto | Explanation |
|---|---|---|---|
| Popularity | 0.35 | 0.25 | Niche indicator, known mainly among volatility specialists. Less documented than mainstream indicators like RSI or MACD. |
| Reliability | 0.65 | 0.55 | Specific reversal bulge pattern has historical backing, but signals are rare. Cryptocurrency volatility patterns less studied. |
| Complexity | Moderate | Moderate | The double-EMA ratio requires some understanding of EMAs. The threshold signals are simple once understood. |
| Versatility | Limited | Limited | Designed for reversal detection. Not suited to trend-following or mean-reversion strategies without changes. |
| Recent Interest | Stable | Growing | Classic indicator with consistent niche following. Crypto traders increasingly exploring volatility-based indicators. |