You need a trading plan, and then you have certain rules that are applied, depending on the situation. If the price seems to go over the TP, just move them in the profit direction, the TP and SL.