GT::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.
GT::Indicators::TRIX->new() GT::Indicators::TRIX->new([20])
http://www.incrediblecharts.com/technical/trix_indicator.htm