Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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)

Details

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

Value

An RSI 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 RSI in TTR written by Josh Ulrich

See Also

Examples

## Not run: 
addRSI()

## End(Not run)

quantmod

Quantitative Financial Modelling Framework

v0.4.18
GPL-3
Authors
Jeffrey A. Ryan [aut, cph], Joshua M. Ulrich [cre, aut], Wouter Thielen [ctb], Paul Teetor [ctb], Steve Bronder [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.