Learn R Programming

quantmod (version 0.4.20)

addSMI: Add Stochastic Momentum Indicator to Chart

Description

Add Stochastic Momentum Indicator to chart.

Usage

addSMI(n=13,slow=25,fast=2,signal=9,ma.type="EMA")

Value

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

Arguments

n

periods

slow

slow

fast

fast

signal

signal

ma.type

MA tyep to use, recycled as necessary

Author

Jeffrey A. Ryan

Details

see 'SMI in TTR for specifics and references.

References

see SMI in TTR written by Josh Ulrich

See Also

addTA

Examples

Run this code
if (FALSE) {
addSMI()
}

Run the code above in your browser using DataLab