Hi all,



I am new to R and I would appreciate if someone can help me out with the
following problem. I am trying to use the TTR package in order to calculate
the Bollinger Bands. I have created a matrix with the Open, High, Low and
Close variables using the following command:



OHLC<-data.frame(open, high, low, close, check.names=TRUE)



However every time I am trying to run the command ( BBands(OHLC, n=20,
maType, sd=2, ...)) this is the error I am getting:



"Error in inherits(x, "xts") : object 'x' not found"



Has anyone came across this problem in order to know the solution?



Thanks a lot in advance,



Nikos

	[[alternative HTML version deleted]]

