[R-SIG-Finance] quantmod Charting

Jeff Ryan jeff.a.ryan at gmail.com
Thu Jul 23 18:38:57 CEST 2009


> take a look at TTR again;  For the add* function, such as MACD, the TA
> is calculated from the begining of the chart data, correct?  This
> would then be different from what I'm calculating, simply because the
> TA continues from uncharted data.

It is calculated from the beginning of the data that was passed to the
original call.  Using subset= or zoomChart maintains the data (and
allows for full data to be used in calculations), just changes the
window you see.

HTH
Jeff



More information about the R-SIG-Finance mailing list