EA with increased positions
-
Can anyone give any example with fxdreema project?
My EA works with EDGE and position increases.
When he buys, if the price is negative for example at 50 pips he opens another purchase and opens purchases randomly.What I would like to do:
-
Each new open purchase must have a volume that is compatible to cover the loss of the previous order and remain in profit.
And this has to be limited to, for example, the EA allowing the opening of a maximum of 10 orders. -
When one of the orders reaches the objective of covering the loss amount of the previous order and is also in profit, the trailling stop must be placed taking the risk out of the operation.
-
If the order fails to cover the value of the previous order and also becomes negative, the next order must repeat the process and use a volume that covers the values of the previous 2 orders, and so randomly must be done up to a maximum of 10 orders .
-
If during the opening of the 10th order, the EA is negative at more than 100 pips, a stop loss must be set for all orders to be closed when the 10th order has a negative value at 100 pips.
-
-
Currently I realized that my EA at any given moment has one or 2 orders in progress with the negative value for a long time, and the other orders that are opened in the sequence are in profit quickly and close, so the EA takes a long time for the market again leaving the losing position in profit, I want to deal with this losing position, increasing the volume of the next trade and if the market is in favor of this position that is open due to the volume being larger and covering the loss of the other trade, I will stay in the same profit the other position is closed negative.
It would look something like this:
order 1: volume 0.03 profit -50.00
order 2: volume 0.10 profit 75.00
This means that the order of 0.10 when it was closed in addition to covering the -50.00 of the previous order it generated a profit of 25.00 -
That is not a trivial project to do. Can you please share it?