Code Snippet – Recover to Break-even

Forums ProRealTime English forum ProOrder support Code Snippet – Recover to Break-even

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

    Anybody please have / could code a code snippet to achieve the following in an Auto-Trade.
    Please feel free to add / amend / improve the spec …

    • Loss > X points
    • Recover back to Y% of Loss?
    • Exit trade if momentum < Z at Y% of Loss.

    The logic in my mind / experience is that if the loss > x points and there is then a good run up / down (back to breakeven / near) then the trade is likely to retrace again so I exit, breathe a sigh of relief and go make a coffee! 🙂

    Above logic is more suited to short term trades / intraday.

    I recall this being discussed and have searched on here with no success.

    Thank You
    GraHal
    PS I am working on a solution myself, but any suggestions would be appreciated and would then be here for the benefit of others … until we get the ‘snippet repository’?? 🙂

     

    #60347

    Hi Grahal, how you doing?  Have been taking a break from the site but couldn’t resist having a go at this.  I haven’t tested it but it should be there or thereabouts, any questions give me a shout.

     

    3 users thanked author for this post.
    #60353

    Hi AS, nice one! great to see you back!

    Many thanks, looks good!

    I’ll let you know how it goes.

    Cheers
    GraHal

Viewing 3 posts - 1 through 3 (of 3 total)
Similar topics:

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