OHLC.plot: plot american candlestick chart

Description Usage Arguments See Also

Description

plot american candlestick chart

Usage

1
2
3
4
OHLC.plot(OHLC, Time = NULL, up.col = "red2", dn.col = "green4",
  main = "", sub = "", ylab = "", lwd = 1, mar = c(4, 3, 3, 1),
  cex.axis = 0.8, tcl = -0.1, axes = list(x = TRUE, y = TRUE),
  par.recover = TRUE, between = NULL, type = "Japanese", ...)

Arguments

OHLC

data frame, with at least fields of O-H-L-C, e.g. return value of Tick2bar.* function

Time

character vector, specify the time stamp of each bar. if NULL, try to find time field from OHLC. default NULL

up.col

character, specify colour for up-ward bars

dn.col

character, specify colour for down-ward bars

main

string

sub

string

lwd

integer

mar

integer vector

cex.axis

numeric value

tcl

integer

par.recover

logical, whether to recover par settings after the plot. default TRUE

...

further arguments to be passed to <par>

See Also

Tick2bar.time, Tick2bar.vol


yuanwei/my documentation built on May 4, 2019, 6:35 p.m.