Can someone please help me with this script

 

Hi all how is it going? I have a script here I need help with what I want addid is a trailing stop input, and a input to lock in pips

For example lets say I open a trade and go long and my take profit is 50 pips and my trailing stop is 20, and lets say the market reverses on me before the trailing stop

I would like an input where I can add say a 5 pip break even, and a input to start the breakeven say 10 pips. That way I get at least 5 pips ON THE REVERSAL. I have addid the file for the buy script once it is modified then I can do the sell script.

THANK YOU MUCH IN ADVANCE

MIKE