Learn R Programming

quantmod (version 0.3-1)

addTA: Add Technical Indicator to Chart

Description

Functions to add technical indicators to a chart.

Arguments

Value

  • Called for its side effects, an object to class chobTA will be returned invisibly. If called from the Rcommand line the method will draw the appropriate indicator on the current chart.

pkg

TTR

Details

The general mechanism to add technical analysis studies or overlays to a financial chart created with chartSeries.

All technical functionality is via the TTR package.

Current technical indicators include:

  • addVo:
{add Volume if available} addBBands:{add Bollinger Bands} addMACD:{add Moving Average Convergence Divergence} addROC:{add Rate of Change} addRSI{add Relative Strength Indicator} addSMI{add Stochastic Momentum Index} addExpiry{add options or futures expiration lines} addADX{add Welles Wilder's Directional Movement Indicator} addWPR{add Williams Percentage R} addSAR{add Parabolic SAR} addVert{add vertical line} addHoriz{add horizontal line}

References

Josh Ulrich - TTR package