Need help to modify a EA

hi.
i attached an ea which closes all open positions and all pending orders once a defined profit target is reached.
and we should input our previous equity and the profit target in dollars in this ea.

so. what i want it to do is, it should automatically consider the current equity as previous equity for the closing of the next orders

for example, my current equity is 100 so i input 100 as my previous equity and 5 as my profit target and i opened some positions and my account equity reached 105 and this ea should close my all orders and it should also consider 105 as the previous equity to close my next orders.

Is it possible? if yes, please please help me, and if anyone can do it for me i can reveal my strategy to him.

Need help to modify a EA
(sorry my bad English)

Hallo,

Also post your question on here, chances are you’ll get quicker response:

stevehopwoodforex.com • View forum - Coders Hangout