hi there, Had some spare time and I made a little adsense forecast tool (well the first version) based on moving average. Read about this on a blog. It gives you the prediction of tomorrow's adsense earnings (well I hope so). I know I need to read up on the whole forecast subject for future add ons and maybe different forecasting concepts. (bunch of ideas ) But this one works and I would love to get some feedback and if my forecast tool works for you, ofcourse. well here it is: http://www.100000eurohomepage.com/adsense-forecast-tool/
Best of luck with your tool, but I think it would be easier to write a tool to predict behaviour of my gf than to write a tool for ever so unpredictable google.
I think you need to add some code to account for the fact that some (like me) might enter the earning amounts with the dollar sign (or any currency sign). When I first submitted it said I would earn $0 tomorrow ... I went back and removed the dollars and it gave me a proper number. I also suggest trying to derive some kind of range instead of a specific number. It looks like all your tool does is average out the earnings (total earnings / total days). Maybe you could find an algorithm that looks at the ups and downs so you end up with a range (example: $1.69 - $1.82).