Plotting Technical indicators

Below I start to add technical indicators to the base chart

Later the parameters will be used for building models

library(quantmod)
getSymbols('^GSPC', src='yahoo')
## [1] "GSPC"
GSPC <- data.frame(GSPC)

Chart Plots

Below I add basic tech indicators: SMA, ROC, Bolinger Bands….

chartSeries(GSPC, theme='white')

addSMA(n=100)

addROC(n=100)

chartSeries(GSPC, theme="white",
TA="addVo();addBBands();addCCI()", subset='2015')