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.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.