Description Usage Arguments Value Author(s) Examples
Generate a nice OHLC/candlestick plot with different moving averages Still to do: y-ticks at the right side are a complete fuck.
1 | plot_ohlc(ohlc, ymin, ymax, max_past)
|
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 |
A nifty plot with MA140, MA980 and MA1400
Philipp Giese
1 | plot_ohlc_complete(btcecho:::calculate_price("CCCAGG","BNB","USD",2000),0,20,365)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.