Is this just a loose wire in the harness?
typically not. classic symptom of faulty bulb or socket corrosion. do this:
1-remove lense....remove bulb. SEE FITMENT LIST BELOW! as these bikes age i discard any bulb on any light i'm repairing and start fresh with new. automatically rules out the bulb as culprit......they're cheap....and being subjected to endless buell vibration takes its toll.
2-closely check light socket for corrosion....closely check small wiring loom going into bulb assembly for any signs of breakage or chafing. repair/resolve as necessary.
3-replace bulb....do NOT replace lense. with key on now try signal. success? replace lense and you're done. still not working? wiggle small wiring harness going into assembly and its connector. now flashing? you have a wiring problem needing attention
single filament clear bulb-----#1156
dual """"""""""""""""""""-------#1157