I've been in the same post now at a bank for nearly four years. I enjoy the job but am worried that if I stay much longer I may waste the opportunity of furthering my career by developing new skills elsewhere.
There are several reasons as to what determines how long you should stay at your organisation. Much depends on how the business fulfils your needs in your current position.