Need help to modify a EA

shararath2004

Trader
Dec 11, 2012
1
0
17
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.

(sorry my bad English)
 

Attachments

  • EquityMangager SV2.mq4
    2.5 KB · Views: 29