Forums ProRealTime English forum ProOrder support BreakEven & Trailing Profit: complete function Reply To: BreakEven & Trailing Profit: complete function

#153839

a try to cover a position on the trailingstop of robertogozzi

Basically it uses the levels of Donchian if the trade is triggered. If the trailing stop is not triggered, it uses previous determined lows before the trade to exit, with in consideration to a minimum distance to the tradeprice.

Also has a second exit method if above is not triggered and the lines are narrow. If it crosses the top line for a long and retraces back to the lowest it exits too, again with in consideration of a minimum distance between max & min levels

With this, most likely with mistakes, I hope that if the market reverse there is an alternative way to exit the trade before going to the stoploss.

Instead of a fixed amount to start the trailingstop, it uses now a %.  Pipsize is left out on the part I added. I’am unsure if it is * or /. What I added can be disabled.

 

 

4 users thanked author for this post.