candlestickChart: Technical analysts - Candlestick chart: show prices for each period as a continuous line. The box is clear if the closing price is higher than the opening price, or filled red if the closing is lower than the opening price.
Description
Technical analysts - Candlestick chart: show prices for each period as a continuous line. The box is clear if the closing price is higher than the opening price, or filled red if the closing is lower than the opening price.
Usage
candlestickChart(ohlc, start = NULL, end = NULL, main = "", ...)
Arguments
ohlc
output from get.ohlc.yahoo or get.ohlc.google
start
start date to plot, if not specified, all date in ohlc will be included
# google <- get.ohlc.yahoo("GOOG",start="2013-07-01",end="2013-08-01"); candlestickChart(google)# apple <- get.ohlc.google("AAPL",start="2013-07-01",end="2013-08-01"); candlestickChart(apple)