Move stop loss

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

    Hi, I’d like to be able to set a stop loss when I open a trade and then every 2 mins (2m time frame) move the stop loss to a new calculated price on an automated strategy. In pro realtime I can do it manually but I can’t find a way to code it?

    Thanks

    #247582

    You need a Trailing Stop, try this one …

    https://www.prorealcode.com/blog/trading/complete-trailing-stop-code-function/

    Or there are plenty more here

    Snippet Link Library

    3 users thanked author for this post.
    #247586

    Fantastic, thank you, it looks just what I need.

    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