Hello ..
Attached is an EA which
Closes all orders when Set profit target(as in settings) is Achieved in all open orders collectively !
While working/testing with a scalper(and hedging) ea,
i saw, the profit target never gets achieved as many orders are always open and drawdown is always there as negative P/L value, though account balance and equity keeps on increasing !
SO this script never comes into action.
Can somebody modify this EA to act on relative profit calculated from Initial equity and present equity
Say when it is dropped onto charts, it records the balance/equity...
as soon as Set Amountprofit target is realised , it closes all trades and
resets itself again to new account balance for next cycle!
(thinking about this i think it has to be in ea form rather than script, which has to be attached to a chart till the original trading ea is trading)
or IF there is any such ea already available..kindly do let me know
Would highly appreciate it
Regards
Attached is an EA which
Closes all orders when Set profit target(as in settings) is Achieved in all open orders collectively !
While working/testing with a scalper(and hedging) ea,
i saw, the profit target never gets achieved as many orders are always open and drawdown is always there as negative P/L value, though account balance and equity keeps on increasing !
SO this script never comes into action.
Can somebody modify this EA to act on relative profit calculated from Initial equity and present equity
Say when it is dropped onto charts, it records the balance/equity...
as soon as Set Amountprofit target is realised , it closes all trades and
resets itself again to new account balance for next cycle!
(thinking about this i think it has to be in ea form rather than script, which has to be attached to a chart till the original trading ea is trading)
or IF there is any such ea already available..kindly do let me know
Would highly appreciate it
Regards
Attached File(s)
CloseTrades_After_Account_Profit_Reached.mq4
3 KB
|
1,104 downloads
100 Fold Challenge->Interested? ->https://www.forexfactory.com/thread/32152