When market tells you so. ATH is often a best time to sell it. Especially if ath happens on bear market
I've never seen ATH when the market was Bearish, because during Bearish everything went down without anyone being able to stop it, so what you say is a bit illogical in my opinion.