candlestickChart: Technical analysts - Candlestick chart: show prices for each...

Description Usage Arguments See Also Examples

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

1
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

end

end date to plot

main

an overall title for the plot

...

Arguments to be passed to ggplot

See Also

get.ohlc.yahoo

get.ohlc.google

Examples

1
2
# 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)

FinCal documentation built on May 2, 2019, 1:29 p.m.