I'm glad you have such great support. Your ex IS a gem in that she is willing to be there for you even after she was hurt so badly. And of course your daughter loves you. So you have some great support there -- you're very lucky!! Be sure to take advantage of it. When it gets bad, use them!
We CAN survive even with depression. I have severe clinical depression, and have had it since I was a small child. I'm now 63 yrs old -- so we can survive.

I've been thru therapy off & on all thru my adult life, and I'll be on meds the rest of my life -- I've already been on them for about 35-40 years.

So we do what we have to do to make it. And sometimes we feel just awful -- so we use our support system. And if we don't have one, we "wing it." LOL
I wish you the very best! Please take care of yourself & God bless. Hugs, Lee