Displaying 5 results from an estimated 5 matches for "addta".
Did you mean:
adata
2011 May 07
2
Convenience-at-the-expense-of-clarity (was: quantmod's addTA plotting functions)
Thanks, Writing plot(addTA()) worked fine.
I find myself with such mixed feelings about R. After finding that addTA
worked fine at the command line but not in a function, I puzzled for a long
time about what kind of virtual machine structure could possibly account for
that. I couldn't think of any.
It turns out that t...
2011 May 05
1
quantmod's addTA plotting functions
Hi,
I'm having trouble with quantmod's addTA plotting functions. They seem to
work fine when run from the command line. But when run inside a function,
only the last one run is visible. Here's an example.
test.addTA <- function(from = "2010-06-01") {
getSymbols("^GSPC", from = from)
GSPC.close <-...
2012 Jul 27
1
Working with quantmod chartSeries and plot.zoo
...eries) I would like to get the
name of the series itself, e.g. Stock 1, is that doable?
3) How can I give the axes names, e.g. Return, Date?
4) In the Cumulative Difference graph I'm using the addVo() and that
function gives this nice barPlot. In the other graphs I'm not using addVo()
just addTA and type='h' and you can see the difference of the bar/histogram
plots. Is it possible to get the same plot using addTA as in addVo?
5) What is the best way to fit the correlation table nicely in the file and
maybe also set the number of digits?
I've also been trying to use plot.zoo b...
2010 Nov 21
1
abline(h=whatever) not working in candleChart() (in quantmod)?
...uot;)
candleChart(AAPL,subset="last 3 months",theme="white")
addMACD()
abline(h=290,col="red")
The same sequence works fine if I'm just using a plain vanilla "plot" call,
however.
What am I missing? Do I need to call the line as a technical study using
addTA? Not sure how to make a straight line constant doing that...
I'm sure it should be obvious, since my searching on google hasn't turned up
anything. So I'm getting ready for a "face-palm" moment if anyone can point
me in the right direction!
----------------------------------...
2011 Apr 29
1
Handling of irregular time series in lineChart
Hi,
I realized that when I have irregular series to feed into lineChart,
the interval of each point in the chart does not seem to take care of
irregular time interval I specified in my input xts time series. But
rather, lineChart seems to take each point as equal spaced time
series. For example, I have the following code:
library(quantmod)
options(digits.sec=3)
t0 <-