quantmod (version 0.4-13)

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()
# }

Run the code above in your browser using DataCamp Workspace