Breakeven level gets removed

Forums ProRealTime English forum ProOrder support Breakeven level gets removed

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

    Hello,

    I was playing around a little with the breakeven-code posted on here (https://www.prorealcode.com/blog/learning/breakeven-code-automated-trading-strategy/) when i noticed that that I seem to have something wrong with my code.

    As shown in the inserted printscreen of the backtest, the breakeven code gets activated once 30 points have moved in my favour, but once the price begins to move against me, the breakeven-code gets “removed” and it doesn’t sell on the set level for some reason, what am I doing wrong?

     

    Regards,
    Anton

     

    #137195

    Try this. Not tested.

     

    2 users thanked author for this post.
    #137474

    That seems to be working, thank you!

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