Is there a way within MT4 to immediately close all open orders?
EA closing all trades and orders when profit reached? 5 replies
Closing all trades when.... 13 replies
Closing all trades coding 3 replies
Code for closing all trades at new candle? 2 replies
closing of trades 4 replies
Quoting YardieDislikedI have been trying to figure this out for a while myself. COuldnt find anything. It would be a neat feature.Ignored
Quoting PurpleDislikedIts giving me error message; cant close trades using the script... I will download it in scripts folder right?Ignored
DislikedI have been looking for something similar to what you posted. I tried it, and it worked fine. My thing is, I wanted to know if you know how to close all when the total of all trades reach a certain point. I am using it as a get out strategy, rather than a take profit strategy. My get out strategy is 5 to 10% of the Acct. Even 0 point would be fine. If you have anything that can help, I would greatly appreciate it.Ignored
DislikedCool, thanks. Do I place the dollar amount on
double myProfit=0;
int EnableClose=0;
?Ignored
DislikedThis EA will allow you to set all of your orders to close at a predefined dollar amount (profit or loss).Ignored