Math::Business::CCI - Technical Analysis: Commodity Channel Index
use Math::Business::CCI; my $rsi = new Math::Business::CCI; $rsi->set_scale(0.015); # Lambert used 0.015, which is default $rsi->set_days(20); # defaults to 20, no recommendation
The CCI was designed by Donald Lambert circa 1980.
The index is meant to indicate oversold and overbought status. Numbers over 100 are called “overbought” and numbers under -100 are called “oversold.” Longer periods will result in less spikes above and below these thresholds.
Robby Oliver <robbykaty@gmail.com>
<robbykaty@gmail.com>
Paul Miller <jettero@cpan.org>
<jettero@cpan.org>
I am using this software in my own projects... If you find bugs, please please please let me know. There is a mailing list with very light traffic that you might want to join: http://groups.google.com/group/stockmonkey/.
Copyright © 2013 Paul Miller
This is released under the Artistic License. See perlartistic.
perl(1), Math::Business::StockMonkey, Math::Business::StockMonkey::FAQ, Math::Business::StockMonkey::CookBook
http://en.wikipedia.org/wiki/Relative_Strength_Index
To install Math::Business::DMI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Math::Business::DMI
CPAN shell
perl -MCPAN -e shell install Math::Business::DMI
For more information on module installation, please visit the detailed CPAN module installation guide.