Percentage based trailing stop loss

Hello,

Is there a way to introduce a percentage based trailing S/L when PnL crosses a certain value?

Example, my PnL crosses 5000 on a traded instrument and I want the trailing S/L to be at 10% from the LTP price at that moment.

1 Like

Constructed it using MaxProfit & PnL

1 Like