addROC               package:quantmod               R Documentation

_A_d_d _R_a_t_e _O_f _C_h_a_n_g_e _t_o _C_h_a_r_t

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

     Add Rate Of Change indicator to chart.

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

     addROC(n = 1, type = c("discrete", "continuous"), col = "red")

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

       n: periods 

    type: compounding type 

     col: line color (optional) 

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

     See 'ROC' in 'TTR' for specific details and references.

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

     A ROC 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 ROC in 'TTR' written by Josh Ulrich

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

     'addTA'

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

     ## Not run: 
     addROC()
     ## End(Not run)

