An updated version of TTR is now on CRAN. It contains some much-needed bug fixes (most notably to
stockSymbols()), some small changes, and a few new functions. Note that the change to
wilderSum() will affect functions that use it (e.g.
Here are the full contents of the CHANGES file:
TTR version 0.21-0
Changes from version 0.20-2
- Added variable moving average function,
- Added Brian Peterson’s price bands function,
- Added David Varadi’s
DEMA(). Thanks to Matthew Fornari for the suggestion.
wilderSum()to seed initial value with raw sum. This matches Wilder’s original calculations. Thanks to Mahesh Bp for the report.
sdcalculation now uses the population instead of sample statistic. This is consistent with Bollinger Band literature. Thanks to Jeff Ryan for the patch.
stockSymbols()for nasdaq.com changes.
ZLEMA()default ratio by changing it from
2/(n+1). This makes it consistent with
EMA(). Thanks to Dirk Eddelbuettel.
- Corrected close-to-close volatility. Thanks to James Toll for the report.
adjRatios()failed (spectacularly) if there were missing close prices. Thanks to Garrett See for the report.