About 5 years ago, I was also a migraine sufferer, so I know your discomfort.
Mine was from the mercury amalgam fillings in my teeth, they were leaking. I just happened to find a website one day talking about this. I took the plunge and thought what do I have to loose, had them removed and refilled with the new white stuff they put in. Never had a migraine since.
Since then, I can sit longer in front of devices, computers, etc. I still get headaches though, but that is because of my health, going to work on that this year.