For the entry part, its very easy, if you want to have the best entry is by waiting for the candle for which ever time frame that you are using to end and when the next opens, open a trade with it, the reason why you need to wait for the candle to end is because when the candle is ending you can be sure of the next candle coming up than when entering into a trade when the candle is in the middle or continuing its time frame, for the exit you can do it anywhere so long as there is profit from the trade.