The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Finance::GeniusTrader::Indicators::MASS

Overview

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.

Calculation

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)

Parameters

The standard Mass Index is calculated with : A = 25 and B = 9

Examples

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

Finance::GeniusTrader::Indicators::MASS::calculate($calc, $day)