You are essentially trying to capture momentum but sell on the lows and buy on the highs...not the smartest approach imho.
Commissions/slippage and God forbid problems with network/electronics failure will make sure this isn't a profitable strategy. IMHO this is death by a thousand cuts type scenario. Good luck though!