How near does it need to be to be near an all time high? If we say within 5% then it looks like, outside of the catastrophic period between 2000 and 2012, the graph spent the vast majority of its time there.
What does drawndown have to do with ATH? The SPX is ~50 points (1.3%) from its ATH right now (3663 as of Friday close) vs ATH of 3715 on 12/9. It's reasonable to say "close to ATH".
See the “Drawdowns” tab here [0]. The market is at a high only when it’s equal to the line at the top of the graph.
[0] - https://www.portfoliovisualizer.com/backtest-portfolio?s=y&t...