The utility model relates to the technical field of filters, in particular to a bidirectional stacked filter. Comprising an oil
pipe, a filter
cartridge is vertically arranged below the oil
pipe, a filter membrane is arranged in the filter
cartridge, the upper end of the filter
cartridge is communicated with the oil
pipe, a left liquid inlet, a right liquid inlet, a left liquid outlet and a right liquid outlet are formed in the two ends of the oil pipe, partitions are integrally formed between the left end and the right end in the oil pipe, and a sliding groove is formed between the left partition and the right partition; a through hole is formed in the upper end of the magnetic check block, the lower end of the magnetic check block is
solid, the sectional area of the magnetic check block is consistent with the sectional area of the left liquid inlet and the sectional area of the right liquid inlet, an
electromagnet is arranged on the lower portion of the oil passing pipe, and the
electromagnet right faces the lower portion of the magnetic check block. Meanwhile, the
electromagnet is used for controlling, full-
automatic filtering can be achieved only by designing an automatic program, and labor can be effectively saved.