Breakeven and Points to Keep

Forums ProRealTime English forum ProOrder support Breakeven and Points to Keep

Viewing 6 posts - 1 through 6 (of 6 total)
  • #109319

    Hi, I have the code below but when the trade was in profit this week, the code did not protect the number of points I stated. Any idea on what maybe wrong with the code below?

    I would also like to add a trailing stop ie if the trade is in profit 1 point greater than when the breakeven point starts, i’d like the stop loss (points to keep) to increase by 1 point too; and to continue to do so until target is met. Any thoughts on how to introduce this code would be appreciated.

     

    Thanks

     

    #109334

    Is the WA Explosion COMBO the Indicator below please?

    https://www.prorealcode.com/prorealtime-indicators/waddah-attar-explosion/

    I’m going to run it on my Platform and try to see what is going on.

    I’ve never had much success with Trailing Stops, but maybe it’s because they didn’t work and I’ve never bothered to investigate so I though your code would be a good one to collaborate on! 🙂

    But please anybody else contribute also as I often get my understanding by experimenting (using GRAPH etc) whereas you coding wizards may spot the issue from just looking at the above code … so please feel free to dive in! 🙂

    #109336

    Thanks for the reply,

    Thats not the code I have for the explosion combo, I have the one attached.

    I found this trailing stop with incremental steps below, I do not know if it works but when I backtested it on FTSE, 1 trade showed up as b/e. I thought it should have shown up +10 as the trade went up +20 before falling back to b/e.

    Thanks

     

     

     

     

     

    #109339

    You are now making it more difficult / confusing  as you now have two different codes for Trailing Stop issues … in the same Topic.

    You would have been better opening a new Topic for the second Trailing Stop code issue so then it keeps it simple and the reading quicker etc for folks wanting to help .

    Thanks for WA Explosion Combo, I will run it later, but I have now run out time now after I had to put both your codes above into the diff checker below to check out the differences! 🙂

    https://www.diffchecker.com/diff

    #109340

    Line 82 in the code in your first post makes no sense.

    should be changed to this:

     

     

    1 user thanked author for this post.
    #109343

    Thank you both.

     

    Apologies I thought I was making it easier by introducing another type of code (sorry new to this).

     

    Will try that amendment Vonasi Thanks.

     

    Adeel

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

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