Script to create a grid of Limit Orders up or down from current order on chart, if buy, then set Buy Limits in a Grid below the order, if sell, then set Sell Limits in a Grid above the order

MQL5 Скрипты Прочее

Работа завершена

Время выполнения 22 часа
Отзыв от заказчика
Great job, got it done quick, and also exactly what I wanted!
Отзыв от исполнителя
Friendly, courteous, and communicated requirements very clearly. Pleasure working with him.

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

1. I want a script, that will first determine if I have a trade on the chart, is it a buy or sell, and the size of the trade in lots to be used in the calculations of the grid of limit orders being created:

a. If no trade is on chart, tell me "You need to first place a trade" then the script takes no further action

b. If multiple trades are already on chart, tell me "Can can have only one trade on chart to run this script" then the script takes no further action

c. If one trade is on chart, the script will take actions below

2.  User input: Ask me lot size of each grid level  "Spacing of grid levels:  ____"  and then I enter a number, example 5,

3.  User input: Ask me how many grids to place on the chart "How many grid levels below price:  ____" and then I enter a number, example 3

4.  Using data about the existing trade on the chart, and the two user inputs, take the following action:

a. If buy is on chart, place a number of limit orders equal to what user entered on number of grid levels, below current order, at spacing specified in pips by user

b. If sell is on chart, place a number of limit orders equal to what the user entered on the number of grid levels, above current order, at spacing specified in pips by user

5.  Size of each grid level will be in increasing increments depending upon the size of the original trade on the chart

a.  If trade on chart is 0.50 lots, 

(1) 1st Limit order placed will be 1.00 lots

(2) 2nd Limit order placed will be 1.50 lots 

(3) 3rd Limit order placed will be 2.00 lots

etc... to the number of levels indicated by the user

b. If trade on chart is 1.00 for example

(1) 1st Limit order placed will be 2.00 lots

(2) 2nd Limit order placed will be 3.00 lots

(3) 3rd Limit order will be 4.00 lots

c. So each grid level will have limit orders that are incrementally larger than the previous level, based upon the existing trade size on the chart

Example from a chart



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

1
Разработчик 1
Оценка
(49)
Проекты
62
40%
Арбитраж
1
0% / 100%
Просрочено
7
11%
Работает
2
Разработчик 2
Оценка
(68)
Проекты
81
11%
Арбитраж
12
67% / 25%
Просрочено
5
6%
Свободен
3
Разработчик 3
Оценка
(132)
Проекты
176
39%
Арбитраж
4
25% / 50%
Просрочено
14
8%
Свободен
4
Разработчик 4
Оценка
(236)
Проекты
440
26%
Арбитраж
125
21% / 57%
Просрочено
96
22%
Работает
5
Разработчик 5
Оценка
(65)
Проекты
96
52%
Арбитраж
3
33% / 67%
Просрочено
24
25%
Свободен
6
Разработчик 6
Оценка
(491)
Проекты
1017
58%
Арбитраж
29
28% / 24%
Просрочено
132
13%
Свободен
7
Разработчик 7
Оценка
(169)
Проекты
204
30%
Арбитраж
25
40% / 44%
Просрочено
12
6%
Свободен
8
Разработчик 8
Оценка
(119)
Проекты
169
38%
Арбитраж
9
78% / 22%
Просрочено
15
9%
Свободен
Похожие заказы
Hi there, I am offering $30 usd for someone to convert four pictures I have to metatrader icons(arrows) that I can use in both MT4 & MT5. We all know that we can change arrows on the chart by using a different arrow code, but the arrows in metatrader are boring and I want to use custom ones. I want the four attached pictures as icons that i can use with indicators that give the option to choose your arrow type. I
I need an expert to decrypt my itf file using on prorealtime. I forgot my password, so I need to generate the source code. I need someone that can help me to derive source code from the itf file I have

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

Бюджет
100+ USD
Исполнителю
90 USD
Сроки выполнения
от 1 до 7 дн.