[R] OHLC Plot with EMA in it

Adaikalavan Ramasamy a.ramasamy at imperial.ac.uk
Thu Sep 25 15:50:56 CEST 2008


Can you give us a simple example which produces the same behavior?


Michael Zak wrote:
> Hi there
> 
> I have some timeseries data which I plot in a OHLC Plot. In the same 
> plot I'd like to have the EMA of this timeseries. I tried to add the EMA 
> point to OHLC with lines(), but this doesn't work. Has anyone an idea 
> how to handle it?
> 
> Regards, Michael Zak
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide 
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list