addROC: Add Rate Of Change to Chart

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Add Rate Of Change indicator to chart.

Usage

1
addROC(n = 1, type = c("discrete", "continuous"), col = "red")

Arguments

n

periods

type

compounding type

col

line color (optional)

Details

See 'ROC' in TTR for specific details and references.

Value

A ROC indicator will be draw in a new window on the current chart. A chobTA object will be returned silently.

Author(s)

Jeffrey A. Ryan

References

see ROC in TTR written by Josh Ulrich

See Also

addTA

Examples

1
2
3
4
## Not run: 
addROC()

## End(Not run)

R-Finance/quantmod documentation built on May 9, 2017, 9:41 p.m.