The problem is, the gear that is best for gains is often the worst on the hairline. Something like an Anavar cycle would be easy on the hairline byt not so good for gains. You could consider using test along with a DHT blocker. At the end of the day, if you are prone to hair loss, I don't think there is a way out (with hair), as long as you are running gear. It will happen. Remember that DHT blockers work with test but won't work with other compunds, and if you do start using a DHT blocker, there are also side effects with them. It seems that these blockers are proving to have more long term sides than we used to know about.