Job finished
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Specification
The rules for the robot should be quite simple:
- It should only apply to GER30 (DAX CFD)
- It should only buy/sell at the first minute of the market 8:00 (CET) and only at this time, with the following rules:
- If the open price for the first tick of the market is between -0.10% and 0.10% nothing should happen. (E.g. the last price of previous tick -last of the previous day- is 11.400.8 and the first tick of the new day is 11.398.8, so the difference is -0.01%)
- If the open price for the first tick of the market is lower than -0.10%, then sell rule should apply with the following limits:
. If open price is between -0.10% and -0.20%, we should sell 0.1 lots. (E.g. the last price of previous tick -last of the previous day- is 11.400.8 and the first tick of the new day is 11.386.8, so the difference is -0.12%)
. If open price is between -0.20% and -0.30%, we should sell 0.12 lots.
. If open price is between -0.30% and -0.40%, we should sell 0.14 lots.
. If open price is between -0.40% and -0.50%, we should sell 0.17 lots.
. If open price is between -0.50%, we should sell 0.20 lots.
- The same rules should apply for buying positions. If the open price for the first tick of the market is higher than 0.10%, then buy rule should apply with the following limits:
. If open price is between 0.10% and 0.20%, we should buy 0.1 lots. (E.g. the last price of previous tick -last of the previous day- is 11.400.8 and the first tick of the new day is 11.414.8, so the difference is 0.12%)
. If open price is between 0.20% and 0.30%, we should buy 0.12 lots.
. If open price is between 0.30% and 0.40%, we should buy 0.14 lots.
. If open price is between 0.40% and 0.50%, we should buy 0.17 lots.
. If open price is between 0.50%, we should buy 0.20 lots.
To close the open position it should happen all the time the same. We should close all the positions opened 5 minutes before the end of the market the same day, so 21:55 CET, whatever it happens
No SL or TP should apply in this robot.