Remote monitoring sensor systems play a significant role in the evaluation and minimization of natural disasters and risk. This article presents a sustainable and real-time early warning system of sensors employed in flash flood prediction by using a rolling forecast model based on Artificial Neural Network (ANN) and Golden Ratio Optimization (GROM) methods. This Early Flood Warning System (EFWS) aims to support decision makers by providing reliable and accurate information and warning about any possible flood events within an efficient lead-time to reduce any damages due to flash floods. In this work, to improve the performance of the EFWS, an ANN forecast model based on a new optimization method, GROM, is developed and compared to the traditional ANN model. Furthermore, due to the lack of literature regarding the optimal ANN structural model for forecasting the flash flood, this paper is one of the first extensive investigations into the impact of using different exogenous variables and parameters on the ANN structure. The effect of using a rolling forecast model compared to fixed model on the accuracy of the forecasts is investigated as well. The results indicate that the rolling ANN forecast model based on GROM successfully improved the model accuracy by 40% compared to the traditional ANN model and by 93.5% compared to the fixed forecast model.