Tarea técnica
I have a robot that opens orders on the grid, with up to 12 operations at the same time.
I want another robot to do:
a) Opening of additional orders;
b) Choose which orders he will copy
c) Customize the lot size for each additional open position (place a lot multiplier)
c) When original orders are closed, copies must also close
d) Allow to copy already opened orders or just new orders
Several currency pairs are opened simultaneously. The copying robot needs to understand the order of each pair that is open.
Example.
Order 1 Original - Copy robot does not work;
Order 2 Original - Copy robot does not work;
Order 3 Original - Copy robot does not work;
Original Order 4 - opens a copy with size 2 times the original batch
Order 5 Original - Copy robot does not work
Order 6 Original - opens a copy with size 4 times the original batch
Original Order 7 - does nothing
Original Order 8 - opens a copy with the original batch 1 time
Order 9 Original - opens a copy with 3 times the original batch
Order 10 Original - opens a copy 8 times the original batch
And so on up to 12 operations successively.