İş tamamlandı
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
İş Gereklilikleri
Need to create assistant for manual trading.
The assistant will create X pending orders for each manual market order.
Pending order are according to the definition of martingale algorithm and the amount of the pending orders are according to the FIBO levels that left or fixed number from user.
For example:if I open BUY order and FIBO is currently between 61.8% and 50%, assistant shall open 3 pending BUY limit orders (price of the first is on fibo level 61.8, second on fibo 78.6% and third is on 100%.
Maximum pending orders in case we use fibo levels are 6.
Each pending order has TP of one level of fibo. For example if pending buy order is on fibo 50%, tp is 38.2%
Variables to get from the user:
1. Distance – FIBO levels or fixed to 25 pips
2. Multiply - Multiply for Martingale, default is 2
3. How many pending order to open, default is 4
4. TP – FIBO 23.6, FIBO 38.2%, FIBO 50%, FIBO 61.8%, fixed number in pips
5. SL – if 0, no SL
6. TS - TrailingStop pips distance
TP of manual orders shall also be updated by assistant, according to the near fibo level.
If pending order is activated, assistant shall update the TP of open orders to the new activated order.
If order closed with TP, all pending orders shall be closed as well (to this direction (BUY or SELL)).
If order closed manually, all pending orders shall be closed as well (to this direction (BUY or SELL)).