Hi Redy, allow me to encourage you that your man is doing brilliantly, it'll be a struggle to see past himself when he's depressed. The fact that he recognises his struggles, actively seeking help, taking meds and wants to beat it, is such a blessing. During low times, cope by consciously stepping back from the situation and realise he has the dark glasses on and it's not your husband. The thoughts, reactions, feelings, the things he says, are just the 'symptomatic husband' not the 'true husband'. If you're 'separate' from these situations, you can view them more realistically, so that you don't REACT negatively to his negative - as during these times, he is even more 'hardwired' to remember these reactions from you. By now you'll know his cycles and triggers, understanding these will help you manage your world, when to step back to view from the outside in, explain age-appropriately to your daughter so she understands and enable you to know the best time to ask "How can I help at this time? Is there anything I can do?"
So that you (and others who may be following this thread) know from where I stand: My husband of 22 years suffered from MDD between early 2013 to around mid 2018, I think it's lifted mostly now (I hope). Amongst other things, he was suicidal 2014-15. I moved out with my two daughters from Sep 2017 - Feb 2018 (5 mths - the longest of 3 stays at my parents). He hasn't loved me since May 2014 and has openly admitted it more than once. I feel this occurrence is a little more frequent than common thought and reasons behind it are numerous and varied. One of them perhaps is the reliant on love being a 'feeling' rather than a conscious 'decision'. Earlier on he was on meds twice, but because the dose was too low, he took himself off. I think he now cares, however he's not seeing any more doctors (tired of the talk), claims he doesn't need help, doesn't understand his issues or admits to them and continues to shut EVERYBODY out.
I follow the suggestions above, plus engage many others to love him - the Big Guy in the sky has made me a 'stayer' and I extend a hug of hope to you that our men are worth the fight.
Two secular songs for you: In My Blood – Shawn Mendes & I’ll Find You – Lecrae
& Tori Kelly