Learn R Programming

FinCal (version 0.6.3)

lineChart: Technical analysts - Line charts: show prices for each period as a continuous line

Description

Technical analysts - Line charts: show prices for each period as a continuous line

Usage

lineChart(ohlc, y = "close", main = "", ...)

Arguments

ohlc
output from get.ohlc.yahoo or get.ohlc.google
y
y coordinates: close, open, high, low or adjusted (yahoo data only)
main
an overall title for the plot
...
Arguments to be passed to ggplot

See Also

get.ohlc.yahoo

get.ohlc.google

Examples

Run this code
# google <- get.ohlc.yahoo("GOOG"); lineChart(google)
# apple <- get.ohlc.google("AAPL"); lineChart(apple)

Run the code above in your browser using DataLab