Forums ProRealTime English forum ProOrder support need help coding a new trailing stop loss Reply To: need help coding a new trailing stop loss

#69638

Yes that is what i want @GraHal!

 

Make it work please 🙁 (i cant just copy paste ur code into the code right? how do i define “gain” etc?

 

haha, i will also update. I belive this will make my algos alot more profitable. (i hope)

 

I calculated “Peak performance” on each trade (or the Max profit on trade) and im loosing SO MUCH profit hehe 🙂

That is the life of a trend follower tho, i will never exit on peak, except if i hit target and target is peak/close to peak..) i will always go back down with price until my exit or stop / trailing stop is hit.

And thats fine, but if i could get more profit when im very profitable that would be great i think..