SET STOP PTRAILING not closing the entire position

Forums ProRealTime English forum ProOrder support SET STOP PTRAILING not closing the entire position

Viewing 4 posts - 1 through 4 (of 4 total)
  • #235894

    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.

     

    #235896

    I’ve uploaded a clear screenshot.

    #235898
    JS

    Do you have the parameter below set to “True”…?

    DefParam CumulateOrders=True

    #235913

    Maybe you can share your code to check what’s going on

Viewing 4 posts - 1 through 4 (of 4 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login