Wait a minute. My brain is working. m=140000*(a/e)
a =average block generation time since last difficulty change in minutes out to 2 decimals
e = expected generation time in minutes = 10
To find
a, we just need to see the last 2 blocks (or further if needed) and figure out the difficult change in minutes?
To find
e, we just need to see the last 3 or 4 blocks and predict the amount of time till the next block?
[Edit]:
Just threw the current formula (without this post's changes).
http://zombietoday.com/dev/pricecal.php[Edit2]:
a =
http://blockexplorer.com/q/intervalshows the average interval between blocks, in seconds. The parameter sets how many blocks to look back at (default 1000).
e = probably just set this to 600 (10 minutes)?
[Edit3]:
Just made some changes, and it looks like the average should be about 8.8USD<>1BTC.
(b*r)/((2500000*(b/140000*(a/e)))-d)
[Edit4]:
http://zombietoday.com/dev/pricecal.php?jsonAdded JSON

Awesome job. I put a page on my site, but I will not be letting people know what my site is... Long story short, his link is the only place you can find it. Once I get out of here I can tell everyone in the other forums about this formula I have created.