Help with code for only one trade at a time

Forums ProRealTime English forum ProBuilder support Help with code for only one trade at a time

Viewing 3 posts - 1 through 3 (of 3 total)
  • #14861

    Hi, Is it possible to input a line of code so that a new trade does not execute if there is already a trade open on the instrument? I am finding in testing on shorter timeframe charts such as 1 minute or 2 minute if stops are set quite wide, trades are not lasting their full course due to new trades executing.  Any help would be appreciated. Many thanks.

    #14863

    or you can test if you have an open position with one of these

     

    2 users thanked author for this post.
    #14889

    Thanks Stef, that’s a great help.

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

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