chart: Chart a candlestick series of a stock with a TEMA filter and...

View source: R/chart.R

chartR Documentation

Chart a candlestick series of a stock with a TEMA filter and volume

Description

Chart a candlestick series of a stock price or cryptocurrency history. In blue/red is the long/short-term TEMA filter on either the close or adjusted close prices, and below is the volume.

Usage

chart(
  symbol,
  days_back = 120,
  tema_window = 50,
  period = "daily",
  adj = FALSE,
  envir = parent.frame()
)

Arguments

symbol

the stock symbol

days_back

number of days back to view

tema_window

the TEMA moving window

period

"daily", "weekly", "monthly", "yearly" or "intraday", only for stocks. Coins return daily series only and this argument is ignored.

adj

whether to use adjusted close prices or not (boolean)

envir

environment to load stock data into


shill1729/trader documentation built on Dec. 27, 2022, 10:55 p.m.