Time-based Stop Loss

Forums ProRealTime English forum ProOrder support Time-based Stop Loss

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

    Hi,

    How can I code a time-based stop loss, meaning if, for example,  a short trade is going on for more than a specified length of time (ie. 20 hours), then it should move the stop loss to breakeven minus 2 pips?

    Thanks.

    Sascha

    #133214

    You can use the number of elapsed bars:

    or use the MTF support to exactly count hours:

     

     

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