To open a new order we do:
What happen when the price hit "stoploss"/"takeprofit", is the system going to automatically close the order when it hit this price?
or do I have to use the OrderSelect() and then OrderClose() to manually close them all?
Please give me some insight.
From the book
it allows a bit of leeway as the price may have changed slightly since you received the price