To address the challenges posed by frequent source and load fluctuations in existing loop closing current calculation methods, this paper proposes an online loop closing current calculation method that considers source and load uncertainties. First, a dual-stack dynamic monitoring system is utilized to obtain real-time voltage and current variations before and after disturbances. Second, Thevenin's theorem is employed to build an equivalent model of the distribution network, simplifying the complex network into a combination of an independent voltage source and a series impedance. Then, the steady-state loop closing current is calculated based on the open-circuit voltage and equivalent impedance at both sides of the loop closing point. Next, the optimal frequency method is applied to determine the equivalent impedance and attenuation time constant at a specific frequency, achieving accurate calculation of the transient loop closing current. Finally, simulations are conducted to model the fluctuations in distributed generation and load, analyzing the steady-state and transient loop closing currents. The simulation results demonstrate that the proposed method accurately captures the effects of source and load fluctuations on the loop closing current in dynamic environments, with minimal calculation error, indicating its high practicality.