Usage
KST(price, n=c(10,10,10,15), nROC=c(10,15,20,30), nSig=9,
maType, wts=1:NROW(n), ...)
Arguments
price
Price series that is coercible to xts or matrix.
n
A vector of the number of periods to use in the MA calculations.
nROC
A vector of the number of periods to use in the ROC calculations.
nSig
The number of periods to use for the KST signal line.
maType
Either:
(1) A function or a string naming the function to be called, or
(2) a list with the first component like (1) above, and additional parameters
specified as named components. See Examples.
wts
A vector the same length as n
, of the weight for each period
(need not sum to one).
...
Other arguments to be passed to the maType
function in case (1) above.