6/11/2009 9:57 AM | |
Posts: 10 Rating: (0) |
Dear experts, I want to programing an function to calculating a running average use step5, how to do? Limin |
6/11/2009 8:38 PM | |
Joined: 12/22/2006 Last visit: 1/25/2022 Posts: 1742 Rating: (309) |
Hello, Here a nice article on running average. http://en.wikipedia.org/wiki/Moving_average_(technical_analysis) You will need a DB where you store a certain number of values. I would use a kind of First in/Firts Out shift register for that. Than add these values, divide by the number of values stored. |
Best regards |
|
6/12/2009 3:06 AM | |
Posts: 10 Rating: (0) |
Hello Edr, Thanks for your reply, Are you have a sample programe? Limin |
6/15/2009 4:54 AM | |
Posts: 10 Rating: (0) |
Hello Edr, Thanks for your help, I will to do the test. Limin |
Follow us on