Learn R Programming

quantmod (version 0.4-5)

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")

Arguments

n
periods
slow
slow
fast
fast
signal
signal
ma.type
MA tyep to use, recycled as necessary

Value

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

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
## Not run: 
# addSMI()
# ## End(Not run)

Run the code above in your browser using DataLab