addROC | R Documentation |
Add Rate Of Change indicator to chart.
addROC(n = 1, type = c("discrete", "continuous"), col = "red")
n |
periods |
type |
compounding type |
col |
line color (optional) |
See 'ROC' in TTR for specific details and references.
A ROC indicator will be draw in a new window on the current chart. A chobTA object will be returned silently.
Jeffrey A. Ryan
see ROC in TTR written by Josh Ulrich
addTA
## Not run:
addROC()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.