NexusFi: Find Your Edge


Home Menu

 





Mass Index Indicator


Discussion in NinjaTrader

Updated
    1. trending_up 3,602 views
    2. thumb_up 31 thanks given
    3. group 5 followers
    1. forum 5 posts
    2. attach_file 4 attachments




 
Search this Thread
  #1 (permalink)
Dyversity
Bournemouth, Dorset, uk
 
Posts: 2 since Mar 2014
Thanks Given: 1
Thanks Received: 0

Does anyone have or can code the Mass index indicator for NT?

Developed by Donald Dorsey, the Mass Index uses the high-low range to identify trend reversals based on range expansions. In this sense, the Mass Index is a volatility indicator that does not have a directional bias. Instead, the Mass Index identifies range bulges that can foreshadow a reversal of the current trend.

Single EMA = 9-period exponential moving average (EMA) of the high-low differential

Double EMA = 9-period EMA of the 9-period EMA of the high-low differential

EMA Ratio = Single EMA divided by Double EMA

Mass Index = 25-period sum of the EMA Ratio

With 27 and 26 threshold lines.


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
I Have a Thing Called Iran -- Trump Stays in DC as Airsp …
Prediction Markets & Event Contracts
Weekend Update: First Qatari LNG Transit Attempted -- IR …
Traders Hideout
Fed Hike Odds at 57% After Warsh: England Surges 12.9%, …
Prediction Markets & Event Contracts
Warsh Confirmed 54-45 on PPI Day -- 97% Say He Holds in …
Prediction Markets & Event Contracts
Hormuz Completely Closed: US Strikes Day 2, Iran Shoots …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
13 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 thanks
  #2 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Interactive Brokers
Trading: Futures & Stocks
Posts: 9,887 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,117

The mass index is an oscillator which oscillates around the value 25. Any value below that level stands for low volatility, any level above that level stands for high volatility.

Leaving the mass index as it is makes it difficult to use as an oscillator. It is best to deduct the summation period (default value 25) from the oscillator value. The result is an oscillator that meanders around the zeroline and which is much easier to read.

The original level of 27, which was suggested by Donald Dorsey (see original contribution in Technical Analysis of Stocks and Commodities, V. 10:6, pp. 265-267) translates into a level of 2 for the modified oscillator.

Attached is a first version of the indicator and a chart explaining how to use it.



Attached Files
Elite Membership required to download: MassIndex.zip
Reply With Quote
  #3 (permalink)
Dyversity
Bournemouth, Dorset, uk
 
Posts: 2 since Mar 2014
Thanks Given: 1
Thanks Received: 0


Thanks Fat Tails


Reply With Quote
  #4 (permalink)
 
AlphaOptions's Avatar
 AlphaOptions 
Kingwood, Texas
 
Experience: Advanced
Platform: NinjaTrader, Metastock, ThinkorSwim
Trading: Stocks, Options, Forex
Posts: 5 since Dec 2010
Thanks Given: 6
Thanks Received: 3

Thank you for sharing this Modified Mass Index. How has this been modified from the classic Mass Index? Can you provide any commentary on the nuances of the indicator? It appears you have highlighted crossovers above zero line indicator pending reversal but what about the same occupying below the zero line. Also is there a significance to the indicator crossing the zero line?


Mike - AlphaOptions
Reply With Quote
  #5 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Interactive Brokers
Trading: Futures & Stocks
Posts: 9,887 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,117


AlphaOptions View Post
Thank you for sharing this Modified Mass Index. How has this been modified from the classic Mass Index? Can you provide any commentary on the nuances of the indicator? It appears you have highlighted crossovers above zero line indicator pending reversal but what about the same occupying below the zero line. Also is there a significance to the indicator crossing the zero line?

The classic mass index moves around the value 25, which can be considered as average volatility. Any value above 25 shows increased volatility, any value below 25 shows decreased volatility. The reason is that it is built on a sum of ratios. Such ratio would be above 1, if the volatility is higher than average and below 1 if the volatility is lower than average. Donald Dorsey calculated a sum of these ratios for the last 25 bars. The values of the indicator mostly oscillate between 27 (high volatility) and 23 (low volatiliy). Values above 27 are considered extremely high, and may point to a reversal.

However, there is no good reason to use a scale between 23 and 27. If you deduct 25 from these values, average volatility will be represented by the zero line. Any value above 0 represents an above average value of volatility, any value below 0 stands for reduced volatility. The result is a histogram which has the same shape as the original mass index, but has the lower end of the scale cut off.

High volatility stands for fear. Therefore the mass index can essentially be used to detect herding of traders stricken with fear. Interesting enough

-> these are troughs for index futures, as peak volatility is typically low
-> for commodities high volatility can occur at a peak or simply mid-trend


Reply With Quote
Thanked by:
  #6 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Interactive Brokers
Trading: Futures & Stocks
Posts: 9,887 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,117

The original version that I have posted in #2 above has a bug that affects the signal line, which is not calculated correctly.

The version attached below has the bug removed.


Attached Files
Elite Membership required to download: MassIndex.zip
Reply With Quote




Last Updated on November 24, 2014


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts