search for: macd

Displaying 7 results from an estimated 7 matches for "macd".

Did you mean: mac
2005 Oct 09
1
Rmetrics fMultivar how to?
...ssions since the Exchange started operating). Now I would like to utilize some of the functions available from RMetrics and see how useful they might be. I can image that one way to know this would be to plot a candlestick chart of the wig20 index and below it a TA indicator, like one of these: macdTA MACD Indicator cdsTA MACD Signal Line cdoTA MACD Oscillator vohlTA High/Low Volatility Trouble is there is no easy way (for me as a beginner) to start with. Questions: A) how to plot a candlestick chart with my data? there seems to be no 'type=candlestick' parameter in plot...
2012 Dec 27
1
Regarding multiple axes in plots..
Hello, I'd like to draw 2 plots in one graph. Here is my code: plot(data_min1$macd,main="1 min MACD",type="l") lines(data_min1$macdsig,col="red") par(new=T) plot(data_min1$macdhist,type="h",main="") axis(4) par(new=F) It seems it works. But left axes of two graphs are over-drawn. Could you let me know how to fix it...
2012 Dec 27
1
Help in using col in plot()..
Hello, I have problem with using color. plot(data_min1$macd,col='black',main="1 min MACD",type="l") lines(data_min1$macdsig,col="red") par(new=T) plot(data_min1$macdhist,col=data_min3$histcol,type="h",main="") axis(4,col='black') par(new=F) When I remove ",col=data_min3$hist...
2009 Jul 02
2
Need to study and learn about better plots
...th their own axises. It might not be immediately clear that the link shows an upper chart with two parts - the price data (with volume and moving averages) and the uppoer portion that has an RSI indicator - in separate studies on the same chart, with a second chart immediately below it that has the MACD indicator. With all the great plots I've seen so far I suspect these requests are pretty easy for the experts so I'm hoping for a few good ideas and maybe a few examples somewhere to help me get started will be all I need. Keep in mind I've not used any command other than plot()...
2012 Sep 16
1
possible TZ bug in parseISO8601 - "Error in if (length(c(year, month, day, hour, min, sec)) == 6 && c(year, : [...]"
...31, hour = 23, min = 59, sec = 59, subsec = 0.99999, tz = "") { if (!missing(sec) && sec%%1 != 0) subsec <- 0 I then came across this post http://r-forge.r-project.org/tracker/index.php?func=detail&aid=2116&group_id=118&atid=516 While running demo/macd.R in the quantstrat package with --vanilla, I got the following error: Error in if (length(c(year, month, day, hour, min, sec)) == 6 && c(year, : missing value where TRUE/FALSE needed It appears that this error is generated by .parse8061(), because there is no TZ defined. Although there i...
2000 Feb 28
1
Parser Bug Somewhere.... (PR#460)
Full_Name: John P Cavanaugh Version: .99 OS: linux Submission from: (NULL) (24.116.10.99) dataset$ema12 <- EMA (dataset$Close,12) dataset$ema26 <- EMA (dataset$Close,26) dataset$MACD_fast <- dataset$ema26 - dataset$ema12 dataset$MACD_slow <- EMA(dataset$MACD_fast,9) dataset$MACD_hist <- dataset$MACD_fast - dataset$MACD_slow # This line doesnt work!!! But... if I does work if I do the following dataset$MACDfast <- dataset$ema26 - dataset$ema12 dataset$MACDslow &...
2012 Jan 11
0
Error in charToDate(x)
...(x))[,'ADX'] myAroon <- function(x) aroon(x[,c('High','Low')])$oscillator myBB <- function(x) BBands(HLC(x))[,'pctB'] myChaikinVol<-function(x)Delt(chaikinVolatility(x[,c("High","Low")]))[,1] myCLV <- function(x) EMA(CLV(HLC(x)))[,1] myMACD <- function(x) MACD(Cl(x))[,2] mySAR <- function(x) SAR(x[,c('High','Close')]) [,1] myVolat <- function(x) volatility(OHLC(x),calc="garman")[,1] myEMA10 <- function(x) EMA(Cl(x),n=10)[,1] myEMA20 <- function(x) EMA(Cl(x),n=20)[,1] myEMA30 <- function(x) E...