The sentence you wrote is correct.
Use "have/ has been (verb)+ing" when you are describing something(s) that have/has started in the past and still currently continuing. Use "have/ has been (verb)in past perfect" only for something(s) that started in the past and have/has been done.
We use the Present Perfect Continuous to show that something started in the past and has continued up until now. "For five minutes," "for two weeks," and "since Tuesday" are all durations which can be used with the Present Perfect Continuous.