The invention discloses a lightning-proof detector for testing wind direction, which relates to the field of astronomical science and technology. The lightning-proof detector for testing wind direction includes a detector body, the upper surface of the body is fixedly connected with a connecting rod, the upper surface of the connecting rod is fixedly connected with a wind vane support rod, and the middle front surface of the wind vane support rod is fixedly connected with a signal receiving The top of the wind vane support rod is slidably connected with a wind direction sliding sleeve, the side of the wind direction sliding sleeve corresponding to the wind vane support rod is respectively provided with ball grooves, and the bottom of the wind direction sliding sleeve of the wind vane support rod is fixedly connected with a sleeve. The lightning-proof detector for testing the wind direction, through the setting of the signal receiver, angle pointer, wind direction sliding sleeve, ball groove, ball, and trocar, can test the wind direction accurately and is convenient to use. If the wind direction level forecast is accurate in the busy harvest season , will greatly increase people's harvest, which is beneficial to people's increase in harvest, so that farmers can use it with confidence.