If I place three similar orders triggered by the same event with different stop losses and targets
EnterLong(100,"E1");
EnterLong(100,"E2");
EnterLong(100,"E3");
How can I monitor the status of each position. For example I can check OnOrderUpdate for entry order but how I can monitor execution of stop orders?
My goal is to always know the status of each position independently.
Also, Do I understand correctly that if this position got closed with ExitLong("E1") all stop and profit orders fro E1 got canceled automatically.
Then if I want to reuse the same name e.g. rung again EnterLong(100,"E1"), and place new stop loss order the software will know that new stop loss order refers to the last EnterLong rather than to the previous that got closed.
Thank you.

Comment