Does anyone have examples of scaling Trailing Stop losses based on x% amount of profit in python?  So something like this:

At 5% profit, update Trailing SL to 3%

at 10% profit update Trailing SL to 1%

and so on.

 

Author