I have been learning English for almost ten years.
I have been living here for thirty years.
Where have you been? We have been looking for you everywhere.
A: What’s the matter? You look so tired lately.
B: I haven’t been sleeping very well these past few nights.
A: Why not?
B: I’ve been worried about my financial troubles and when I try to go to bed I can’t sleep.
A: Why don’t you try reading before you go to bed? Maybe that will make you tired.
B: I’ve tried that but it doesn’t work. I end up reading books about money.