The Average True Index (ATR) is a measure of volatility. High ATR values often occur at market bottom following a 'panic' sell-off. Low ATR values are often found during extended sideways periods, such as those found at tops and after consolidation periods.
The Average True Index is a moving average of the True Ranges.
The standard ATR works with a fourteen-day parameter : n = 14
Finance::GeniusTrader::Indicators::ATR->new() Finance::GeniusTrader::Indicators::ATR->new([12])
The Average True Range can be interpreted using the same techniques that are used with other volatility indicators.
This indicators is validated by the values from comdirect.de. The stock used was the DAX (data from yahoo) at the 04.06.2003:
ATR[14] [2003-06-04] = 79.2343 (comdirect=79.23)
http://www.equis.com/free/taaz/avertrurang.html http://stockcharts.com/education/What/IndicatorAnalysis/indic_ATR.html http://www.finance-net.com/apprendre/techniques/atr.phtml
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.