Price feeds provide the data. They get normalized (removing extreme values) and I think there's some parameters in regard to sensitivity that they can tweak. The trusted accounts for these feeds are voted by all MKR holders. The overall system is very much like a community run central bank.