addSMI               package:quantmod               R Documentation

_A_d_d _S_t_o_c_h_a_s_t_i_c _M_o_m_e_n_t_u_m _I_n_d_i_c_a_t_o_r _t_o _C_h_a_r_t

_D_e_s_c_r_i_p_t_i_o_n:

     Add Stochastic Momentum Indicator to chart.

_U_s_a_g_e:

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

_A_r_g_u_m_e_n_t_s:

       n: periods 

    slow: slow  

    fast: fast  

  signal: signal 

 ma.type: MA tyep to use, recycled as necessary 

_D_e_t_a_i_l_s:

     see 'SMI in 'TTR' for specifics and references.

_V_a_l_u_e:

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

_A_u_t_h_o_r(_s):

     Jeffrey A. Ryan

_R_e_f_e_r_e_n_c_e_s:

     see SMI in 'TTR' written by Josh Ulrich

_S_e_e _A_l_s_o:

     'addTA'

_E_x_a_m_p_l_e_s:

     ## Not run: 
     addSMI()
     ## End(Not run)

