Timing the exact top and bottom is impossible, but you can always sell at an all-time high
An all-time high? So on point over the prior record and you sell?
and buy at a 52 week low.
I'm not understanding your strategy here. What are you accomplishing by putting your money back into the market at the dollar figure equal to the lowest value in the last year (52 weeks)? Especially if you sold at one point over the prior record (the all time high) you could be out of the market for years while stocks are on a rapid increase. The last 2 years of the S&P500 were both north of 23% returns back to back. Using your method you would have sold sometime in 2022 losing all those HUGE gains.
What if the recover occurs prior to stocks ever hitting the 52 week low? You'd still be out of the market and will have missed the recovery.
Personally, I find it more effective for myself if I frame it in terms of “owning the most shares” instead of “making the most dollars”.
If I started with 100 shares and now have 200 shares, I consider that a win, even if the 200 shares together are worth less than the 100 shares were at one time.
This confuses me even more. Number of shares is completely irrelevant. Stock splits double shares (and half values), a reverse stock split would double value (but half number of shares). I mean, if you're just interested in number of shares, you do you, but most people use stocks as an investment vehicle where the value of those stocks is primary value (voting rights being a second value but most people don't care about that).