addBBands              package:quantmod              R Documentation

_A_d_d _B_o_l_l_i_n_g_e_r _B_a_n_d_s _t_o _C_h_a_r_t

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

     Add Bollinger Bands to current chart.

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

     addBBands(n = 20, ma = "SMA", sd = 2, on = -1)

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

       n: number of moving average periods 

      ma: type of moving average to be used 

      sd: number of standard deviations 

      on: which figure area of chart to apply to 

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

     See bollingerBands in 'TTR' for specific details as to
     implementation and references.

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

     Bollinger Bands will be drawn, or scheduled to be drawn, 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 bollingerBands in 'TTR' written by Josh Ulrich

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

     'addTA'

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

     ## Not run: 
     addBBands()
     ## End(Not run)

