Question with stocks?

If I had $50,000 to invest into a stock and the stock price was
$18 around 9:30 am then went to $18.50 at 12 pm. Then I would sell all the shares and make the profit and wait for that stock to drop in the same day, then purchase again and keep selling. Is this a good idea?
16 answers 16