I've had headaches for many years. I sort of lucked out because because I get ocular migraines with little or no pain. In my experience, stress brings on the effect, and even though the level of pain is low, the throbbing becomes very annoying.
When I am able to keep the stress at a minimum I don't get them so much. I've done that by learning my personal limits through experience, you know, the hard way.
I hope this helps, I know the pain and frustration you experience must be very difficult.
Jamie