Windowmaxprice bug?

 
Hi I'm having a big problem with windowmaxprice / minprice. They do not seem to be reliable. What I'm doing is using an ea to take screenshots of each chart and storing the maxprice and minprice so i can calculate where things are on the chart using a VB application I've written. But I'm finding sometimes windowsmaxprice/minprice don't match what the screenshot shows. I haven't found any pattern in this. Has anyone else noticed this? I'm using build 225.