Print PriceD1[0] and DayHigh[0] in the log and compare them with the High prices of the last 24 hours. Then you can see where the difference comes from. I cannot say it from a look at your code, but that would be the logical next step.