There is no rule. It entirely depends on your trading strategy. If you are a day trader, you have to make your target according to your trading efficiency. You said you closed a trade and market moved for some more pips. Close trade when your strategy permits. If the market moves more, those are not your pips. If you want those pips also, make a better strategy. But the fact is you can't exploit the full benefits everytime.