The Rate of Change (ROC) is similar to the Momentum. The standard Rate of Change is the ROC 12 days : Finance::GeniusTrader::Indicators::MOM->new() If you need a non standard Momentum use for example : Finance::GeniusTrader::Indicators::MOM->new([9]) or Finance::GeniusTrader::Indicators::MOM->new([25])
This Indicator was validated by the data available from comdirect.de: The DAX at 04.06.2003 (data from yahoo.com) had a ROC of 8.05. This is consistent with this indicator: 8.0451
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.