I dont know if an Ea has ever been programmed like this, but I am looking for an EA that can do the following:
I will open a basket of order manually. For example 8 orders.
I then want the EA to close the orders seperately at for example 10 pips each.
But I also want the EA to close all the orders together when the total profit of both open en closed orders of the basket is for example 50.
So for example.
I open 8 pairs. At this moment the EA should close all orders when the total profit is 50 for the open orders.
If the 50 is not reached yet, but 1 pair reach the 10 pips, then the EA should close this order. The EA should then close all 7 remaining orders at a total profit of 40.
If the 40 is not reached, but another pair reaches the 10 pips, the EA should close this order then as well. So we would then have 2 orders closed at 10 pips. The EA should then close the 6 remaining orders then at a total profit of 30. Etc Etc
So when the 50 is still not reached, but 7 pairs are already closed. The last order can then close at a loss of 20.
I want the amount of each seperate pair (in the example 10) and the total amount (in the example 50) to be adjustable. Because I will open different orders depending on the market situations.
thanks in advance
I will open a basket of order manually. For example 8 orders.
I then want the EA to close the orders seperately at for example 10 pips each.
But I also want the EA to close all the orders together when the total profit of both open en closed orders of the basket is for example 50.
So for example.
I open 8 pairs. At this moment the EA should close all orders when the total profit is 50 for the open orders.
If the 50 is not reached yet, but 1 pair reach the 10 pips, then the EA should close this order. The EA should then close all 7 remaining orders at a total profit of 40.
If the 40 is not reached, but another pair reaches the 10 pips, the EA should close this order then as well. So we would then have 2 orders closed at 10 pips. The EA should then close the 6 remaining orders then at a total profit of 30. Etc Etc
So when the 50 is still not reached, but 7 pairs are already closed. The last order can then close at a loss of 20.
I want the amount of each seperate pair (in the example 10) and the total amount (in the example 50) to be adjustable. Because I will open different orders depending on the market situations.
thanks in advance