SetStopLoss("hey", CalculationMode.Price, (MIN(Close, 10)[0]) - (25 * TickSize), false);
After my target conditions are met my strategy exits the position by using following command:
ExitLong("", "hey");
Now I have found that my last SetStopLoss() order is always active even after my position is exited by 'ExitLong' command. Any position initiated below the last SetStopLoss() price is immediately exited.
Now I do understand that a stop loss order is supposed to be automatically cancelled if the managing position is closed by another strategy generated exit order and I am not sure why I am noticing this behavior. Can anyone comment please?
Thank you.
Comment