仕事が完了した
![](https://c.mql5.com/i/avatar/avatar_na2.png)
指定
Type of orders: select BUY or SELL
Magic number = input
--------------------------------------------------------------------------------------------------------------
Lots management:
The EA open when it starts one (for example BUY) order and place 9 pendent orders (BUY)
Distance between pendent orders (pips) = (+) if I selected SELL orders
(-) if I selected BUY orders
The lot of the 10 orders will be:
Lot 1: (placed in market when EA starts)
Lot 2: (pendent buy order “– x” pips from first order)
Lot 3: (pendent buy order “– x” pips from second order)
Lot 4: (pendent buy order “– x” pips from third order)
Lot 5: (pendent buy order “– x” pips from fourth order)
Lot 6:
Lot 7:
Lot 8:
Lot 9:
Lot 10: (pendent buy order “– x” pips from ninth order)
First order (Lot 1)
TP (pips) =
SL (pips) =
Second order (Lot 2)
TP (pips) =
SL (pips) =
Third order (Lot 3)
TP (pips) =
SL (pips) =
.
.
.
.
Tenth order (Lot 10)
TP (pips) =
SL (pips) =
When one TP or SL is reached all opened orders and pendent orders are deleted and EA stars again