Code Help Please

 
I am looking for a code for a percentage step stop i.e. I have an EA that has a 4 percentage profit stop I would like then for a 1% step to kick in so every 1% the stop is moved. I have been trying to do this myself but I'm not having much luck.

Cheers
Reason: