Let $f$ be holomorphic on $|z|>R$, for some large $R>0$. If there exist $r_2>r_1>R$ with $max_{|z|=r_1}|f(z)| = max_{|z|=r_2}|f(z)|$, then $f$ is constant.
NB: $\lim_{z\to\infty}f(z)<\infty$
Previous Note: That is my argument. I am not sure whether it is true or false. Also, if necessary, you may add that $\lim_{z\to\infty}f(z)$ exists to consider the argument above.
UPDATE: The argument is false for some $f$ with $\lim_{z\to\infty}f(z)=\infty$. Now if we add that $\lim_{z\to\infty}f(z)<\infty$, is it true?
Thanks a lot!
No. Counterexample $f(z)=z+1/z$ with $r_1=2$ and $r_2=1/2$.