Add candles to active time series plot
lines_ohlc(x = 1:nrow(ohlc), ohlc, width = 0.3, candle.col.up = "blue",
candle.col.dn = "red", ch = TRUE)
location coordinates
time_series data.frame
or data.table
object with 4 columns 'open','high','low','close'
width of candles body
colors of up and down candles
use Chinese style?
Used in plot_ts
internally.
Other graphical functions: add_last_values
,
add_legend
, distinct_colors
,
empty_plot
, hist_dt
,
lines_stacked_hist
,
multi_heatmap
, plot_table
,
plot_ts