Tâche terminée
Spécifications
Hello,
I need 2 robots that will be very similar to each other:
- robot #1 for the sell orders
- robot #2 for the buy orders
Here are the conditions that must be met:
1. robot will re-place all closed orders as Limit orders (Buy-limit or Sell-limit)
2. let's say i have a buy order at 120, with TP at 125.
once the TP is hit the robot must issue a buy-limit order with the same settings as the previously closed order (volume, TP, and SL - keep in mind that SL might be set to 0)
3. I want the robot to have some input dialogue: price interval for action (minimum and maximum prices where the robot is allowed to set orders) Like I want the robot to re-place all orders in the price range 1.23001 - 1.34875
4. the time period to look back for opened orders. (I might have orders open in the same price range that are 1 month old - and I might not want to re-place those orders once they are closed).
When I start the robot I want to be able to configure it like this: in the required price-range look for all opened orders that are not older than: a certain date/time or number of days ago.
5. at any time robot must only have a single opened order for a certain value:
lets say I have an buy order at 1.3345 with tp set at 1.3455
- now if the order hits TP the robot must re-place the order as a Buy-Limit order
- if the order opens and hits TP again, the robot must re-issue the order - but only once - that is I do not want to have 2 copies of that orders active now (that would mean I double the volume)
A.) As I said I need one robot for re-issuing BUY-LIMIT orders (even though some BUY orders could have originally placed as BUY-STOP orders, the robot must re-issue them as BUY-LIMIT orders
B.) and I also need another robot for reissuing of SELL-LIMIT orders