Green’s Dictionary of Slang

wig-wag v.

[SE wiggle + wag]

to wave or move with a writhing movement; thus wig-wagger n., one who wig-wags; wigh-wagging n., waving; wig-waggy adj., tortuous, winding.

[US]H.O. Flipper Colored Cadet at West Point 54: ‘Wigwag.’ — Signalling.
[US]H.H. Lewis A Gunner Aboard the ‘Yankee’ 166: In the daytime, when ships are within easy distance, wigwagging is commonly used [...] A code similar to the Morse telegraph alphabet is used.
[US]H. Green Actors’ Boarding House (1906) 73: The pianist snickered as ‘props’ from the wings wig-wagged a message.
[US]H.A. Franck Zone Policeman 88 182: He wig-wagged his orders to his negro helpers scattered over the landscape.
[UK]A.G. Empey Over the Top 2: They [i.e. electric lights] seemed to be glowing with anger and righteous indignation, and their rays wigwagged the message, ‘repay!’.
[US]B. Hecht A Thousand and One Afternoons [ebook] ‘That old boy over there is trying to wigwag me [...] He keeps winking and making signs’.
[US](con. 1917–18) C. MacArthur War Bugs 11: The wigwag rumours were to the effect that the boys had chucked a couple of officers overboard.
[US]Hecht & Fowler Great Magoo 60: Come on, wig-wag that dummy he’s faded, will you?
[US]‘Toney Betts’ Across the Board 101: Some track owners pretended they were opposed [...] whether or not the information was wig-wagged outside the track.
[US]‘Tom Pendleton’ Iron Orchard (1967) 294: She’s been wig-wagging to go for half an hour.
[US]N. Algren ‘The Last Carousel’ in Texas Stories (1995) 127: The [...] roadster was parked out on a shoulder of the road on the last curve into Harlingen. Luther came out of it wigwagging.

In compounds

wig-wag man (n.)

a hand-waver, e.g. a racecourse ‘tic-tac’ man, one who stands on an intersection, directing traffic, etc.

[US]O.O. McIntyre Bits of New York Life 12 Feb. [synd. col.] The wig-wag men of the busy traffic intersections make their money by signalling to motormen on street cars when the road is clear.