Close a position after certain time if takeprofit not met

Forums ProRealTime English forum ProOrder support Close a position after certain time if takeprofit not met

Viewing 2 posts - 1 through 2 (of 2 total)
  • #24134

    I would like to know if it’s possible to close a position if it’s been open for a certain time and not met the takeprofit target.

    I would also like to know if it’s possible to know if the position is in profit prior to closing it.

    Many thanks

    Robert

    #24139

    First question:

    https://www.prorealcode.com/topic/general-question/

     

    Second question:

    Take a look in the pathfinder code. It closes after a certain time if the position is a winner or a looser.

    1 user thanked author for this post.
Viewing 2 posts - 1 through 2 (of 2 total)

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