Some kind of grid bot

MQL4 Asesores Expertos

Tarea técnica

A KIND OF GRID BOAT

1. In the settings section, there should be a field where I can enter 2 prices. The values I will enter are at the upper and lower levels of the current price. There should be price levels that appear as lines on the chart at equal intervals as the pip value in this range (grid). In addition, there should be an approach value (pip value) that I will determine to these price levels. trades should be opened according to the approach value, not on the full level.

2. I want to buy-sell in the drawn price ranges as I have stated below.

For the purchase process;

3. If the price goes up and crosses an upper line and moves as close to the approach value, 0.01 lot buys should be opened. The tp point of this operation is its approximation value minus an upper line.

4. At this stage, if the price level continues to rise, the first tp trade is closed. When the price crosses the upper level, 0.01 lot buys should be opened and there should be tp at the level close to the upper line (as much as the approach value I entered).

5. It should be noted that while opening the trades, 1 buy trade should be opened in each interval. If the price comes back to the buy level without the open trade tp, a new trade should not be opened at the same level. If tp reaches the buy level again, a new trade can be opened.

When the buy transaction is opened, if the price goes down;

6. A buy should be opened as soon as it approaches the lower level line as close to the approach value, and the tp point is the value that is as close as the approach value to the line just above this range.

7. If the decline continues and the price level moves to the lower range without tp, the buy transaction should be opened again when it approaches the lower level (as much as the approach value I entered).

8. Again, if the decrease continues and the price value comes to the other range below, when the value approaches the lower line, this time the third buy transaction is opened by 0.02 lot buy transaction. tp point is the value at which it approaches the upper level.

9. If the decline continues while the open sell transactions continue, the fourth buy is opened in a lower range, this time as 0.04 lots.

10. When the decline continues, the next lots continue as 0.08 - 0.16 - 0.32 - 0.64 - 1.28 - 2.56lot...(2 times the previous lot).

11. If the buy is tp, all open buy trades are closed and the next trades continue in the same way, starting from 0.01 lot.


For SELL operation;

12. Again, it should be with the same logic.

If the Price is Rising in the Sell transaction;

13. While the price is rising, 0.01 sell should be opened when it approaches the upper line as close as the value. The Tp point is again the level that is as close as the value of approaching the lower line.

14. If the price continues to rise and the price enters the upper range, the second trade is opened again, 0.01 lot sell, when it comes close to the upper line as close to the value. The Tp point is the value as close to a lower line as it approaches.

15. If the price continues to rise and there is an open sell transaction, when the price level comes to the upper range, 0.02 lot sell is opened when it approaches the upper line as close as the value. The Tp point is the value where it is as close to the bottom line as the approach value.

16. In the same way, if the sell transactions are open, the price still continues to rise and when it goes to the next range, the sell transactions continue in the same way. This time the lot is 0.04.

17. If there is an open trade, the next lot will continue as twice the last open lot. 0.08 - 0.16 - 0.32 - 1.28 - 2.56 lots..

18. If the sell transaction is Tp, all open sell transactions are closed. Newly opened sell transactions continue with the same logic and start from 0.01 lots.

If the Price Decreases in the Sell transaction;

19. If the price is falling, 0.01 lot sell is opened when it crosses the lower line by the approach value. The Tp point is the level that is as close to the line below.

20. As there is no open transaction for the price that crosses the lower line by the approach value, after the transaction with tp while the decline continues, 0.01 lot sell is opened. It becomes tp when it gets as close to the bottom line as the approximation value. It goes on like this.

Things to pay attention;

14. Buy - sell transactions will be opened if the conditions are met as I mentioned above. It can be opened at the same time.

15. If the price reaches the same level without tp in that range, the same trade will not be opened again from that level. If it becomes Tp and reaches the same level again, it can be unlocked.

16. The source code of the program must be submitted openly.

Han respondido

1
Desarrollador 1
Evaluación
(264)
Proyectos
434
38%
Arbitraje
88
43% / 18%
Caducado
72
17%
Ocupado
2
Desarrollador 2
Evaluación
(30)
Proyectos
55
22%
Arbitraje
12
67% / 8%
Caducado
2
4%
Libre

Información sobre el proyecto

Presupuesto
30+ USD
Para el ejecutor
27 USD
Plazo límite de ejecución
a 5 día(s)