| addTA {quantmod} | R Documentation |
Add Technical Indicator to Chart
Description
Functions to add technical indicators to a chart.
Details
The general mechanism to add technical analysis studies or overlays
to a financial chart created with chartSeries.
All technical functionality is via the TTR package.
Current technical indicators include:
- addADX
- add Welles Wilder's Directional Movement Indicator
- addATR
- add Average True Range
- addBBands:
- add Bollinger Bands
- addCCI
- add Commodity Channel Index
- addCMF
- add Chaiken Money Flow
- addCMO
- add Chande Momentum Oscillator
- addDEMA
- add Double Exponential Moving Average
- addDPO
- add Detrended Price Oscillator
- addEMA
- add Exponential Moving Average
- addEVWMA
- add Exponential Volume Weighted Moving Average
- addExpiry
- add options or futures expiration lines
- addLines
- add line(s)
- addMACD:
- add Moving Average Convergence Divergence
- addMomentum
- add Momentum
- addROC:
- add Rate of Change
- addRSI
- add Relative Strength Indicator
- addSAR
- add Parabolic SAR
- addSMA
- add Simple Moving Average
- addSMI
- add Stochastic Momentum Index
- addTRIX
- add Triple Smoothed Exponential Oscillator
- addVo:
- add Volume if available
- addWMA
- add Weighted Moving Average
- addWPR
- add Williams Percent R
- addZLEMA
- add ZLEMA
See the individual functions for specific implementation and argument details. Details
of the underlying TTR implementations can be found in TTR.
Value
Called for its side effects, an object to class chobTA
will be returned invisibly. If called from the R command line
the method will draw the appropriate indicator on the current chart.
Author(s)
Jeffrey A. Ryan
References
Josh Ulrich - TTR package
[Package
quantmod version 0.3-2
Index]