It is indeed possible to cancel an order, either by actively cancelling it, or having a "good until ..." parameter set to an appropriate time. However, I get the impression that the exit orders (stoploss, profit taker) are placed at the same time as the opening order. You would then need to cancel these orders as well, otherwise you might worst case end up with a short position where a long position was intended (or vice versa).
I am using a slightly different approach here. At first I submit a limit entry order and monitor it for one minute. If it does not get filled I modify the limit price (I simply cross the bid/ask spread). Once I have confirmation that the order is filled do I submit the exit orders.