You need to look at the COM then as that allows you to call requests like getTradedvolume which contains all min and max data from when the market started. I've still not got round to using the COM yet so can't help I'm afraid.
You also need to be aware people mess with that data to cock up the graphs by sticking in silly odds when the market goes up so you'd probably want to only use data with a certain amount matched.
If what you're trying to do is winning money you could always pay someone on the http://gruss-software.co.uk/forum/viewforum.php?f=12 to code it for you. I'm sure someone on there would be able to code it all the data is available from the API.
You can't expect to be a jack of all trades and sometimes it's worth paying out upfront to reap those rewards later. Only takes a little edge at this game to make decent money on the long run.