You can measure the build-up of geo tectonic stress, and say roughly how much energy is stored, but nothing i know of will help pinpoint the location, magnitude, and timing of an earthquake.
try this experiment: drop grains of sand onto a mound, and notice they build up and collapse. now try to predict the timing and magnitude of the collapses. you will see that it is impossible.
(if you find it is not impossible, then you could use your method to predict earthquakes as well.)