Script for placing a pending order when reaching a pre-set price level for MT5

MQL5 Скрипты

Техническое задание

I will first describe the process step by step:
We have a current price of the GBP / JPY pair, for example (Bid 156.97 / Ask 156.99). At this current price, I set a level 

through the settings of the script, when it is reached, a pending order is automatically placed at a set distance from this level. Maximum number of set levels - 6 levels 

regardless of above or below the current price. Validity of the set levels - unlimited term. The set level must be visible on the price chart, and it can be set and removed 

manually by the user (in case the current price has not reached it). When manually removing a set level, the associated pending order is also removed. Once the level is 

reached, a pending order such as Sell Stop, Sell Limit, Buy Stop or Buy Limit is automatically placed. The pending order is at a distance set by the script from the reached 

level and is defined simultaneously with the setting of the level (this is done through the settings of the script). Through the script it should be possible to set Take 

profit and Stop Loss of the pending order, and this should not be mandatory (entering 0 in the script settings does not set Take profit and Stop Loss). Validity of the 

pending order - unlimited term (or one month if it is impossible to set an unlimited term). IMPORTANT: When the current price reaches the price level set by the script, the 

pending order is placed at the distance set in the script, and the level automatically ceases to operate (deleted automatically). IMPORTANT: At a set level above the current 

price - the level is activated at Bid price. At a set level below the current price - the level is activated at Ask price.
For clarity, I am attaching a file.

Файлы:

JPG
CONDITION.JPG
151.2 Kb

Откликнулись

1
Разработчик 1
Оценка
(378)
Проекты
401
31%
Арбитраж
63
19% / 70%
Просрочено
51
13%
Загружен
2
Разработчик 2
Оценка
(13)
Проекты
15
7%
Арбитраж
1
100% / 0%
Просрочено
0
Свободен
3
Разработчик 3
Оценка
(42)
Проекты
52
50%
Арбитраж
6
83% / 0%
Просрочено
0
Свободен
4
Разработчик 4
Оценка
(34)
Проекты
60
23%
Арбитраж
11
73% / 9%
Просрочено
3
5%
Свободен
5
Разработчик 5
Оценка
(16)
Проекты
29
48%
Арбитраж
0
Просрочено
6
21%
Свободен
Похожие заказы
I currently have a license code that connects to my web server, and I add the account number, client name, and expiration date. I’d like something more automated. Currently I allow clients 10 licenses, but adding for them on my side can get exhausting. I’d like a better solution for myself and clients

Информация о проекте

Бюджет
40+ USD
VAT (20%): 8 USD
Итого: 48 USD
Исполнителю
36 USD
Сроки выполнения
до 3 дн.