Saturday, December 1, 2012

Stock Charts in R - Example BMW

Example - BMW

> library('quantmod')
> getSymbols("BMW.DE") #use this to download financial data
[1] "BMW.DE"
> chartSeries(BMW.DE, subset='last 12 months')
> addBBands()
> addCCI()


We use http://www.quantmod.com Please check the page for documentation and examples (http://www.quantmod.com/examples/charting/)
Technical Indicators used:
addBBands() - Bollinger Bands - Indicator for Volatility 
addCCI() - Commodity Channel Index - Indicator for Momentum

Other Indicators:

Trend
IndicatorTTR Namequantmod Name
Welles Wilder's Directional Movement IndicatorADXaddADX
Double Exponential Moving AverageDEMAaddDEMA
Exponential Moving AverageEMAaddEMA
Simple Moving AverageSMAaddSMA
Parabolic Stop and ReverseSARaddSAR
Exponential Volume Weighted Moving AverageEVWMAaddEVWMA
Moving Average Convergence DivergenceMACDaddMACD
Triple Smoothed Exponential OscillatorTRIXaddTRIX
Weighted Moving AverageWMAaddWMA
ZLEMAZLEMAaddZLEMA
Volatility
IndicatorTTR Namequantmod Name
Average True RangeATRaddATR
Bollinger BandsBBandsaddBBands
Price EnvelopeN/AaddEnvelope
Momentum
IndicatorTTR Namequantmod Name
Commodity Channel IndexCCIaddCCI
Chande Momentum OscillatorCMOaddCMO
Detrended Price OscillatorDPOaddDPO
momentumaddMomentum
Rate of ChangeROCaddROC
Relative Strength IndicatorRSIaddRSI
Stocastic Momentum IndexSMIaddSMI
Williams %RWPRaddWPR
Volume
IndicatorTTR Namequantmod Name
Chaiken Money FlowCMFaddCMF
VolumeN/AaddVo


No comments:

Post a Comment