A couple of minutes ago I noticed you had been standing here for the past 2 hours. What's wrong? Is this sentence correct in terms of tenses?
It's fine.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.