This paper presents a new technique for the compensation of non-periodic load current. The method provides control references for three co-located devices, each corresponding to one moving calculation window and one decomposed part of the compensated current. They are slow compensator with high power rating, large calculation window, and low switching frequency; fast compensator with lower power rating, shorter calculation window, and higher switching frequency; and the reactive compensator which is an ordinary static VAR compensator (SVC). A fuzzy based adaptive window is proposed for the slow compensator to find the optimum window for different load characteristics. The technique is evaluated using real-world data and controller hardware-in-the-loop (HIL) implementation.