Hi folks - can someone please lend a hand with a minor "repair" to this EA.
I use this "close all positions at equity level X" EA to sometimes close hedge trades with positions on different instruments and different currencies.
The problem I have is that it starts to close "all positions" when the equity target is hit, but then (I think) what happens is it stops closing positions if that equity level drops during the closing process and/or if the loosing trade side of a hedge trade is closed first. What I really need it to do is just close ALL positions as soon as the equity target is reached, and not stop closing positions at market level regardless of any changes to that equity level during the closing process.
Can someone help?
Thanks a million (well not quite a $million but you know what I mean)
I use this "close all positions at equity level X" EA to sometimes close hedge trades with positions on different instruments and different currencies.
The problem I have is that it starts to close "all positions" when the equity target is hit, but then (I think) what happens is it stops closing positions if that equity level drops during the closing process and/or if the loosing trade side of a hedge trade is closed first. What I really need it to do is just close ALL positions as soon as the equity target is reached, and not stop closing positions at market level regardless of any changes to that equity level during the closing process.
Can someone help?
Thanks a million (well not quite a $million but you know what I mean)
![](https://resources.faireconomy.media/images/emojis/64/1f60a.png?v=15.1)
Attached File(s)