addMACD               package:quantmod               R Documentation

_A_d_d _M_o_v_i_n_g _A_v_e_r_a_g_e _C_o_n_v_e_r_g_e_n_c_e _D_i_v_e_r_g_e_n_c_e _t_o _C_h_a_r_t

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

     Add Moving Average Convergence Divergence indicator to chart.

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

     addMACD(fast = 12, slow = 26, signal = 9, type = "EMA", histogram = TRUE, col)

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

    fast: fast period 

    slow: slow period 

  signal: signal period 

    type: type of MA to use. Single values will be replicated 

histogram: include histogram 

     col: colors to use for lines (optional) 

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

     See and 'MACD' in 'TTR' for specific details and implementation
     references.

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

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

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

     'addTA'

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

     ## Not run: 
     addMACD()
     ## End(Not run)

