Skip to content
Prev 140095 / 398506 Next

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,5741	1,5744
17-03-2008 00:10:00	1,5745	1,5762	1,5741	1,5749
Fehler in if ((!is.mts(x)) || (colnames(x)[1] != "Open") ||
(colnames(x)[2] !=  :
        Fehlender Wert, wo TRUE/FALSE n?tig ist
so there is a value missing where it expected a T/F...

In Details of the help on the function plotOHLC it says:
The time scale of x must be in Julian dates (days since the origin).

Perhaps anyone can provide help here?
Thanks,
Thomas