A material vibrating device for horizontal position detection, comprising a frame (7), a vibrating material containing part (9) hinged to the upper part of the frame (7) through a hinge shaft (90), and a A vibration-driven slider (8) moving left and right on the roller track (71) at the bottom of the frame (7), wherein the vibration-driven slider (8) includes a middle main body (83) and left-right symmetrical Two inclined surfaces (81, 82) are provided, and the two inclined surfaces (81, 82) are respectively provided with inclined-plane chute (811, 821) symmetrical to each other, to carry the left support slider (812) and The right support slider (822) slides, and the left support slider (812) and the right support slider (822) are respectively and symmetrically arranged at the left and right ends of the lower side of the vibrating material holding part (9) The supporting protrusions (91, 92) are hinged.