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$histcol" in the 2nd plot() function, it works.
But currently it's not working showing the following msg:
 

Error in axis(1, at = xycoords$x, labels = FALSE, col = "#BBBBBB", ...) : 
  formal argument "col" matched by multiple actual arguments
 
Could you let me know how to fix it ? 
 
BR,
SK Park
 



	[[alternative HTML version deleted]]

