Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: Problems with dynamic tables
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Paolo Tarpanelli

Posts: 49
Registered: 1/9/06
Problems with dynamic tables
Posted: Aug 22, 2012 2:25 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hello,

I am using FinancialData and plotting the real time data using a DateListPlot.
What I would like to do is to add to the DateListPlot of prices also a moving
average of the same price time series, in real time:

for example, for each updated price I would like to have the corresponding
moving average value accroding to the last n prices.

I was trying to do this by creating a Dynamic table where I put all the prices
and then get the sum of last n elements to compute the moving averange over the
last horizon of time of length n, but I am blocked.

Is there any one who already suceeded to do a similar job?

thanks
Paolo




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.