Hi,
I am finding that SET STOP PTRAILING is only closing the last trade, not the entire position. Please see the attached screenshot. The position has four trades, and only the last trade is closed.
The only exit in my code is the SET STOP PTRAILING. I’m probably misunderstanding something, and would be grateful for any pointers.
Tim.
I’ve uploaded a clear screenshot.
JSParticipant
Senior
Do you have the parameter below set to “True”…?
DefParam CumulateOrders=True
Maybe you can share your code to check what’s going on