What methods or properties should I look at in order to cancel a pending stop loss order once my profit target is reached?
For example:
I buy 100 units @ 100$
I set the Stop Loss Order: Sell Stop 100 units @ 90$
Then I set the Profit Taking Order: Sell Limit 100 units @ 120$
The price then moves up and hits 120$, executing my Sell Limit 120$
Now I need to make sure my Sell Stop 120$ is cancelled.
I am currently using a modified version of the indicator named "PriceAlert" to send an SMS alert once a target is hit. If I sleep on it, I end up never closing a open order. That's dangerous.
Thanks in advance.
- Marcus Plexus
Comment