Empty indicator / plot.window: need finite 'ylim' values
On Mon, Aug 17, 2020 at 12:33 PM Daniel Cegie?ka
<daniel.cegielka at gmail.com> wrote:
On 17 Aug 2020, at 04:55, Rasmus Liland <jral at posteo.no> wrote:
Dear Mike,
if I change this line
plot (chart_Series (sample.xts[,1], subset=subset, TA=ta))
to
plot(chart_Series(sample.xts[subset,1], TA=ta))
A plot appears. No errors. Was this
what you were looking for?
Guys :) chart_Series() is a plot env/func, so plot(chart_Series()) make no sense :)
Except that it is necessary to wrap chart_Series() in a call to plot() if you call it from within a function, for loop, or any other situation where R's auto-printing is disabled. Cheers, Josh
Try: chart_Series(sample.xts[subset,1], TA=ta) ?chart_Series But your problem is here: sample.xts[subset, 2] Best, Daniel
/Rasmus
_______________________________________________ R-SIG-Finance at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-finance -- Subscriber-posting only. If you want to post, subscribe first. -- Also note that this is not the r-help list where general R questions should go.
_______________________________________________ R-SIG-Finance at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-finance -- Subscriber-posting only. If you want to post, subscribe first. -- Also note that this is not the r-help list where general R questions should go.
-- Joshua Ulrich | about.me/joshuaulrich FOSS Trading | www.fosstrading.com