Well it depends, if you are using automated trading tools, you can set a bar to open and close your trades but if you are not using such tools the trade closes as per your trader open and close his/her trades when they find the best time in the market.