I used to get alot of unwanted male attention, too. I think I am pretty average in appearance.
Less people will approach me if I am:
coughing, sniffling, sneezing alot. (even if I am just pretending)
holding a cell-phone to my ear and talking into it (The phone doesn't have to be on.)
reading a book or a newspaper.
wearing large over-the-ear headphones connected to a music player. (The music player does not have to be on.)
wearing "emo" makeup and clothes. (Those pants with chains on them, black lipstick, thick eyeliner, and some black swirlies or fake tears falling from the eyes...)
maintaining an angry, grumpy, ugly face. Look like you're really in a bad mood!
holding my head up high, my shoulders back and walking "with a purpose".wearing the ugliest clothes imaginable and also wearing a scarf that covers my face.
Some of those methods are way less convenient than others, but they all worked for me!

I love goth cloths but i don't own any. Is the makeup enough to keep them away?
I used to do this when i had higher self esteem. I'm working on building it back up again . I will try walking like this more often.