Hi Nas,
My sleep issues started in feb when I developed tinnitus. GP put on amitrypline, I went up to 40mg, it knocked me out at night initially, however after a time you can become accustomed to the amityline and it stops working, that's what happened to me.
Prior to feb I slept for britain, literally, never any problems; the amitrypline helped with the tinnitus however my sleep didn't return. I got terrible anxiety, it was awful. I researched a bit and thought that my estrogen might be low, so I got it checked at my doctors and my levels were 19;
so in august i started hrt, patches at first, I'm now on gel. My sleep is better but I think it's something I will have to work on with my hrt.
One thing to remember with any AD's including amitry, is that amitry is notoriously hard to come off, I only take 10mg now and I take that in the morning. Weaning off AD's slowly is the key, if you come off them too quickly they can cause sleep issues.
I'm convinced that low estrogen was the main cause for my sleep issues.
I take magnesium bisglycincate as well, I take chealted form and non buffered, some companies sell buffered products which means they mix the glycinate with a cheaper form of magnesium.
Hope that helps and I hope you start to feel better soon. I really do sympathise with you xx