Profit Trailing Stop

Forums ProRealTime English forum ProOrder support Profit Trailing Stop

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

    Hi everyone, i am new to prorealcode

    Can anyone help me code the following trailing stop strategy?

    Exit the trade when bookprofit retace 40% from its maximum level (minimum level to be triggered = $1000 bookprofit)

    Many thanks!

    #99687

    Does anyone have any suggested solution ?

    #99695

    Just record your maximum profit achieved by comparing the position price to the high for long trades (or low for short trades). Then calculate what value would be 40% lower or higher and place a pending order at that price. Something like this – once again not tested and written after just one coffee! Written for non cumulating positions.

     

     

     

    1 user thanked author for this post.
    #99737

    By the way, is “set stop %trailing ” not available in ProOrder?

    the coding was fine in ProBacktest, yet the program said it cannot be used in ProOrder.

    I am currently using PRTv10.3

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