ohlc {cryptoQuotes} | R Documentation |
Candlestick charts are highly visual and provide a quick and intuitive way to assess market sentiment and price action. Traders and analysts use them in conjunction with other technical analysis tools to make informed trading decisions. These charts are particularly useful for identifying key support and resistance levels, trend changes, and potential entry and exit points in financial markets.
ohlc(internal = list())
internal |
An empty list. Used for internal purposes. Ignore. |
A plotly::plot_ly()
-object wrapped in rlang::expr()
.
Serkan Korkmaz
Other price charts:
chart()
,
kline()
# script: scr_charting
# date: 2023-10-25
# author: Serkan Korkmaz, serkor1@duck.com
# objective: Charting in general
# script start;
## charting the klines
## with indicators as
## subcharts
chart(
ticker = BTC,
main = kline(),
sub = list(
volume(),
macd()
),
indicator = list(
bollinger_bands(),
sma(),
alma()
),
options = list(
dark = TRUE,
deficiency = FALSE
)
)
## charting the MACD-indicator
## with klines as subcharts
chart(
ticker = BTC,
main = macd(),
sub = list(
volume(),
kline()
),
indicator = list(
bollinger_bands(),
sma()
),
options = list(
dark = TRUE,
deficiency = FALSE
)
)
# script end;