The RSI can be customized with different look-back periods to suit various trading strategies and timeframes. It is a valuable tool for assessing the momentum and relative strength of an asset, helping traders make more informed decisions in financial markets.
Arguments
- chart
- ...
See
TTR::RSI()
See also
Other chart indicators:
addBBands()
,
addEvents()
,
addFGIndex()
,
addLSRatio()
,
addMACD()
,
addMA()
,
addVolume()
,
chart()
Examples
# script: scr_charting
# date: 2023-10-25
# author: Serkan Korkmaz, serkor1@duck.com
# objective: Charting in general
# script start;
# library
library(cryptoQuotes)
# charting klines
# with various indicators
chart(
chart = kline(
ATOMUSDT
) %>% addVolume() %>% addMA(
FUN = TTR::SMA,
n = 7
) %>% addMA(
FUN = TTR::SMA,
n = 14
) %>%
addBBands() %>%
addMACD() %>%
addRSI()
)
# script end;