I think the phrasing is hiding the logic. All-time high doesn't mean the peak. Quite often, all-time highs are followed by more all-time highs. Things can run quite a bit before a correction.
You by definition would make money. If you sell at max price that means you had to have bought it for lower than that. Assuming you didn’t buy for so close to max such that transaction fees are larger than your margin.