Learn R Programming

quantmod (version 0.4-5)

addRSI: Add Relative Strength Index to Chart

Description

Add a Relative Strength Index indicator to chart.

Usage

addRSI(n = 14, maType = "EMA", wilder = TRUE)

Arguments

n
periods
maType
type of MA to use
wilder
use wilder (see EMA)

Value

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

Details

see 'RSI' in TTR for specific details and references.

References

see RSI in TTR written by Josh Ulrich

See Also

addTA

Examples

Run this code
## Not run: 
# addRSI()
# ## End(Not run)

Run the code above in your browser using DataLab