stop loss -3 candles

Forums ProRealTime English forum ProOrder support stop loss -3 candles

Viewing 4 posts - 1 through 4 (of 4 total)
  • #150867

    Hi there!

    Yes I know – the topic stop loss has been covered hundreds of times in this space, but I didn’t found a code snipped matching my needs.

    So I am looking for a simple code snipped which does the following:

    • after entering a long/short position, the stop is placed for a long position (3 candles back low -1 tick) and for short (3 candles back high + 1 tick)
    • as long as the trade is active the stop is updated accordingly (always 3 candles back +/- 1 tick)

     

    I tried to code it by myself, but I failed – shame on me – I know 🙂

     

    So is there anyone who solved this problem already or likes to write it?

     

    Many thanks in advance.

     

    #150870

    Not tested:

     

    3 users thanked author for this post.
    #150871

    Link to above added as Log 261 here …

    Snippet Link Library

    1 user thanked author for this post.
    #150877

    works – grazie

Viewing 4 posts - 1 through 4 (of 4 total)

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