| TAIndicator | R Documentation |
An R6 class for technical analysis indicator(s). Its purpose is to facilitate calculations on time-series of data. The fields specify the 'func' and parameters for the calculation(s). The indicator(s) can be constructed with the function 'taFactory()'.
TDI::baseTDI -> TAIndicator
labelUnique label for the indicator.
methodIndicator calculation method.
columnsList with input data column(s).
argsArguments for the calculation.
new()Object constructor for class 'taIndicator'.
TAIndicator$new(label, method, columns, args = list())
labelLabel for the indicator.
methodMethod to calculate the indicator.
columnsList of input data column(s).
argsList of arguments for the indicator function.
An object of class 'taIndicator'.
calculate()Calculate the indicator for the time series.
TAIndicator$calculate(x)
xTime-series object with input data.
xts Time-serie with the indicator(s).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.