Staying on market at least x bars

Forums ProRealTime English forum ProOrder support Staying on market at least x bars

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

    Hello guys, here’s a function that closes the positions after x bars:

    But what if i would like to implement a function that does not close the position for at least x bars? Then just after that x bars let the system works normally with sl/tp/ts etc…?

    Probably it’s more simple then i think, but i ask you for security.

    #135635

    Update: i managed to do that 🙂

    Yes, that was simple as i thought

    #135646

    You will have to add an ELSE condition to set the SL after those X bars.

    1 user thanked author for this post.
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