search for: plotohlc

Displaying 8 results from an estimated 8 matches for "plotohlc".

2012 Jan 10
1
plotOHLC(alpha3): Error in plotOHLC(alpha3) : x is not a open/high/low/close time series
...attr(*, "dimnames")=List of 2 .. ..$ : NULL .. ..$ : chr [1:4] "z.Open" "z.High" "z.Low" "z.Close" - attr(*, "class")= chr "ts" - attr(*, "tsp")= num [1:3] 1 2 1 alpha3 <- as.xts(to.minutes3(z,OHLC = TRUE)) plotOHLC(alpha3) Error in plotOHLC(alpha3) : x is not a open/high/low/close time series The file quotes_h.2.dat contains real time tick data for futures contracts, so the above manipulation is my attempt to just get a time series with one column being a date/time and the other being tick price. I beli...
2004 Oct 06
1
plotOHLC unequally spaced time.
Hi I have som financial tick data that i have converted in to 45 min bars. These are unequally spaced in time. I wonder if it is possible to plot these like bars as the plotOHLC does. As I have understood plotOHLC uses class(mts) that must be equally spaced? Regards Paer [[alternative HTML version deleted]]
2003 Dec 14
1
A faster plotOHLC() for the tseries package
The plotOHLC function in the tseries package is useful to plot timeseries of various financial assets with open/high/low/close data. I had often wondered if it could be made to run a little faster. It turns out that the following patch does --- plotOHLC.R.orig 2003-12-14 12:02:20.000000000 -0600 +++ plotOHLC...
2008 Mar 22
2
intraday OHLC plot
I want to create a open/high/low/last plot of intraday data. I try to use the function plotOHLC from the tsteries package. I create my own multiple time series and then try to plot it. raw Data Format (file eurusd2.csv): "Date (GMT)" "Open" "High" "Low" "Last" 17-03-2008 00:00:00 1,5764 1,5766 1,5747 1,5750 17-03-2008 00:05:00 1,5749 1,5750 1...
2004 Mar 03
5
get.hist.quote - is great, but am I missing something?
I find it's just great to be able to say: library(tseries) x <- get.hist.quote(instrument="ongc.ns") and it gets a full time-series of the stock price of the symbol ongc.ns from Yahoo quote. However, once my hopes have been raised by such beauty :-) I get disappointed when I do > plot(x) and the annotation is horrible! The x axis is not labelled as dates. The default
2003 Dec 06
3
Axe time of series in format yy-mm-dd
I'm trying to plot a ibm stock time series. I made the download of that series, ibm <- get.hist.quote(instrument = "ibm", start = "2003-01-01",quote=c("CL")) And ibm is a serie wiht this characteristic: Start = 37623 End = 37960 Frequency = 1 When I try to plot it, ts.plot(ibm) In the graphic the axe time is represented by 37623 ... 37960, How can I put
2004 Oct 18
2
x is not a open/high/low/close time series
I am trying to create a high low close style chart but I keep getting the following error statement; "x is not a open/high/low/close time series". I've used the function is.ts and R responds TRUE but the ohlcPlot function gives the above error statement. I'm actually planning to plot some odds ratios with their confidence intervals and the hi-low-close chart should do the
2005 May 24
2
Missing Data Line Type?
I have a general question. Is there a setting that can be used for a multiple line type? The situation is that I want a solid line between x and y points but if the y point is missing, I want a dashed line type to the next point. In other words, if point 1 to 2 exists, make that line solid, otherwise, make it dashed up to the next existing x/y point. Additionally, what plot type would you