Hi all,
I have looked at the demo and I can get a Moving Average drawn into my Time Series Chart, but I would like to have several Moving Averages with different periods drawn in the same chart. Can anybody provide me with some hints on how to do that?
Thanks,
Stefan
Time Series Chart with Moving average
Re: Time Series Chart with Moving average
Hi Stefan,
The current moving average code is problematic in that it returns a dataset with both the original series and the moving average together, which makes it difficult to calculate multiple moving averages for a single series. It's an area of code that needs cleaning up...I'd almost recommend writing your own code from scratch to create a new series containing the moving average data.
Regards,
DG
The current moving average code is problematic in that it returns a dataset with both the original series and the moving average together, which makes it difficult to calculate multiple moving averages for a single series. It's an area of code that needs cleaning up...I'd almost recommend writing your own code from scratch to create a new series containing the moving average data.
Regards,
DG