Code for trailing stop

Forums ProRealTime English forum ProOrder support Code for trailing stop

Viewing 1 post (of 1 total)
  • #255241

    Hi,

    I am trying to write a simple code to move my stop loss to breakeven once I am 50 ticks in profit, but nothing I try seems to work.

    for example, I want to set my stop loss to 50 points and then move it to breakeven once my trade moves 50 points in profit.

    It should be simple but for some reason it doesnt work when I try different codes to write it.

    any help would be appreciated.

     

     

Viewing 1 post (of 1 total)

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