I have some stock prices High
, Low
, Open
, Close
. I would like to use R to draw a candle stick chart, then I have another customer indicator (a type of moving average) that I have developed and I would like to plot that as a line chart over the candle sticks.
Also I would like to be able to specify he colour of the line chart that I add to the candlestick chart.
miniChart <- as.xts(miniSubset,order.by=miniDF$GMT.x..i..)
#Create quantmod chart
candleChart(miniChart)
Please could someone tell me how I would add a line chart on the candlechart above?