Just as index-fund investing defeats this purpose, so too does trading based on anything other than an evaluation of a company's underlying prospects for the future.
It's not a good idea to trade based on anything other than the evaluation of a company's future.