How to Close partially all orders from the same EA in different instruments when reach equity % ?
-
Hi guys!
I'm using an EA with almost 10 instruments. I want to add a feature that will close a % of all orders from any intruments when the equity reaches a determined %.
I've checked "Check Profit (unrealized)" and it will work for the first step, but the block "Close Partially" don't have the option to execute the partial close to all trades.
Any ideas?
Thank you!
-
Please, could anybody give me an insight?
Thank you!
-
I recommend you to create a separate EA just controlling all of that. Take into account that not all trades can be partially closed (not all brokers accept 'halved' lots per trade).
Also consider if the reached equity is a fixed or variable number. Will you choose it manually?
Finally consider closing time for different charts. What will happen if USDJPY is open and DAX is closed? And what if the equity level is reached while one of them is closed but with an open trade still active?
Just some ideas

-
@l-andorrà Great ideas and make all sense!
I need to consider it as it will be an expert focused in index.
The issue with a controlling EA is to backtest the strategy with this kind of Equity control. I'll have no way to test and optimize with this parallel control.
Thanks for your inputs
I appreciate it ! -
You are welcome.