Hi,

I need help to code a simple trade management EA, a dynamic cut loss strategy.
Everytime a trade goes against me -20pips it will set the take profit to breakeven.

Everytime it moves against me by
-30pips it will set the take profit level to -10pips,
-40pips it will set the take profit level to -20pips,
-50pips it will set the take profit level to -30pips.

Or maybe an option whereby we can change the take profit level variable.
Eg, We can input the data into the EA, under the Variable column its " Trade -20" then we can choose to key in 0 for breakeven or 1 for +1 pip profit at the Value Column.

Sometimes i am away from my trading computer, i want to use this EA to cut my losses, not a hard stop but a more dynamic stoploss.

Willing to share my simple and profitable Price Action strategy with you if u r willing to help me.