The Mass Index was designed to identify trend reversals by measuring the narrowing and widening of the range between the high and low prices. As this range widens, the Mass Index increases; as the range narrows the Mass Index decreases.
The Mass Index was developed by Donald Dorsey.
Mass Index = A-day sum of the ratio between the B-day EMA of (High - Low) and the B-day EMA of the B-day EMA of (High - Low)
The standard Mass Index is calculated with : A = 25 and B = 9
Finance::GeniusTrader::Indicators::MASS->new() Finance::GeniusTrader::Indicators::MASS->new([30, 14])
http://www.equis.com/free/taaz/massindex.html http://www.charthelp.com/reports/c21.htm
To install Finance::GeniusTrader, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Finance::GeniusTrader
CPAN shell
perl -MCPAN -e shell install Finance::GeniusTrader
For more information on module installation, please visit the detailed CPAN module installation guide.