The Automatic Flagman signal, Magnetic Flagman (from Magnetic Signal Co.), Magnetic AutoFlag (from Railroad Supply Co.), or more commonly, the "wigwag", is an early grade crossing signal made between 1910-1940. Hence the term 'wig wag', the signal would swing a banner often accompanied with a lamp that would signal the approach of an oncoming train.
Though credit is often given to Albert Hunt of the Pacific Electric railway, the first known instance of a wigwag goes back to the Bryant-Zinc company, who made a version similar to the Union Switch & Signal Type 'DW' in 1908. It was then in 1909 that Hunt made his version utilizing electromagnets. Throughout the 1910s, many companies introduced their own version of the Automatic Flagman, which was then outlawed in the late 40s. Since then, the number of wigwags has steadily fallen, and the last original install on a mainline was removed in March 2021.
There are 16 wig wags still existent in the United States, 10 of which are active.
Take a look at my map of the wig wags we've found!