A pressure signal processing algorithm for fuel oil leakage diagnosis comprises the following steps: for a filtered fuel tank pressure signal, identifying periodically fluctuating wave crests and wavetroughs, evaluating the stable state of the fuel tank pressure signal, and identifying a pressure gradient calculation starting point; classifying the initial oil tank pressure signals: when the pressure fluctuates upwards and has obvious wave troughs and wave crests and the fluctuation energy has convergence characteristics, respectively identifying two wave crests and two wave troughs to calculate the slope, and calculating the average value of the slope; only recognizing one wave crest and one wave trough, recalculating the starting point of only one wave crest and one wave trough, calculating the slope with the starting point every unit time in a certain time period, and solving the slope average value; not recognizing wave troughs and wave crests within a certain time, calculating the slope with the starting point every unit time, and solving the slope average value for diagnosis; indicating that no fluctuation exists in pressure ascending, at the moment, enabling the pressure change energy of the oil tank to tend to be 0 due to the fluctuation of the liquid level; in a certain time period, calculating the slope with the starting point every unit time, and calculating the average value of the slope for diagnosis.