Finance::GeniusTrader::Indicators::TRIX - TRIX-Indicator from Jack Hutson
The TRIX-Indicator was developed by John Hutson. It is a 1-day-ROC of a threefold EMA (A EMA of a EMA of a EMA). It is calculated as:
TRIX = 100 * ( EMA3(t) - EMA3(t-1) ) / EMA3(t-1)
The standard interpretation is that a signal is generated if the TRIX cuts the zero-line. It is a relative stable yet not very effective indicator because it generates the signals very late. You can combine the TRIX with an EMA[9] to generate MACD-like signals.
The first argument is the period used to calculed the average.
Finance::GeniusTrader::Indicators::TRIX->new() Finance::GeniusTrader::Indicators::TRIX->new([20])
http://www.incrediblecharts.com/technical/trix_indicator.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.