This article reports a method for forecasting an earthquake by synchronous anomalies of optical astronomic time-latitude residuals. The so-called optical astronomic time-latitude residuals for a certain astrometric instrument are the rest after deducting the effects of Earth whole motion from the astronomical time and latitude observations determined by the instrument. Forecasting practice for four earthquakes around the Yunnan Observatory occurring after 2010 shows that it does not generate false forecasts, and also does not miss forecasts of major earthquakes. This forecasting practice proves that the synchronous anomalies of astronomical time-latitude residuals can provide effective warning sign for earthquake occurrence around observatory station, thus deserves attention and further study. and Su Youjin, Gao Yuping, Hu Hui.