plot_ohlc: Plot OHLC

Description Usage Arguments Value Author(s) Examples

Description

Generate a nice OHLC/candlestick plot with different moving averages Still to do: y-ticks at the right side are a complete fuck.

Usage

1
plot_ohlc(ohlc, ymin, ymax, max_past)

Arguments

ohlc

an xts with the close, high, low, open and volume-Vals

ymin

minimal value on y-axis

ymax

maximal value on y-axis

max_past

An integer defining past x days analyzed

Value

A nifty plot with MA140, MA980 and MA1400

Author(s)

Philipp Giese

Examples

1
plot_ohlc_complete(btcecho:::calculate_price("CCCAGG","BNB","USD",2000),0,20,365)

philbtcecho/btcecho documentation built on June 6, 2019, 10:59 a.m.