Trabajo finalizado
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Tarea técnica
Dear programmer,
I am here trading US30 only.
I am trading an MT4 EA which monitors the market, and at a good moment sets the first order of a possible series of orders. The EA sets after the first 1 order, for example 1 order every 20 pip. It continues to place such orders until the market turns. The same EA has by me a preset in USD when it closes all orders when the amount is reached.
I will send you a full working example if you need to see this EA in live action.
This ea gives good profit, but it has a serious account security breach, so the distances between the set series of trades must be very carefully evaluated. And when the distance is in the safe area, the profit is "suffering".
So, I decided to try to find a way of entering counter trades. These counter trades should be set for example every 12 trades, and it should be 12 x 0.01= 0.12 pip, as the chosen serial of orders just now are 0.01 lot.
I can enter these counter lot manually, but then I have a 24-hour monitor job.
So, I need another way of monitoring the original EA and account, and to have a EA that takes care of this monitoring and entering.
I can open a new MT4 with the same account number and let this second EA run from there?
Details for this second EA:
IT will monitor the main EA and account and enter orders with order distance from first order and between the rest of the orders to be set by me. Also order sizes to be set by me. same order size and distance for all orders.
The second EA should have a adjustable SL for each order that I could use if I need.
The second EA should also have a Trailing option for each trade with the normal trailing settings that I must be able to set up.
So, this second EA always start its work from passive monitoring when the first order is started by EA1.
The second EA should close all its counter orders when the first EA closes all its open orders. (When set earning is reaches. For example, 100 USD)
The first EA have only 1 close, and it then closes all its open trades.
Best regards
Erik