​"The Expert Advisor must be based on the Martingale strategy."

MQL5 Эксперты Forex

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

# Technical Specification for Expert Advisor Development (MT5)
**Project Name:** Grid Breakout EA
**Platform:** MetaTrader 5 (MT5)
**Account Mode in MT5:** Hedging (separate position accounting)
## 1. EA Operation Algorithm
### Step 1: Initialization and First Entry
 1. If there are no open positions, the EA detects the current market Ask and Bid prices.
 2. Two pending orders are placed in both directions from the market with a volume equal to "Initial Lot":
   * **Buy Stop** at price: current Ask + "Distance to first entry".
   * **Sell Stop** at price: current Bid — "Distance to first entry".
 3. The moment one of these pending orders is triggered, the opposite pending order must be immediately deleted by the EA.
### Step 2: Grid Construction (Martingale)
If the price moves against the open position:
 1. Each new grid level is opened at a fixed distance of "Grid Step" from the open price of the previous transaction.
 2. The volume of each new level is calculated as the product of the previous level's lot and the "Lot Multiplier".
 3. The total number of open orders in the grid cannot exceed the set "Max Grid Levels".
### Step 3: Management and Closing in Profit
 1. The EA continuously calculates a single average break-even price for the entire group of open positions in the current direction, taking their volumes into account.
 2. The overall Take Profit for all positions is set at a distance of "Take Profit" (in points) from the calculated break-even price.
 3. Upon reaching the overall Take Profit level, all positions are closed, remaining pending orders are deleted, and the cycle restarts from Step 1.
### Step 4: Loss Limitation and Freeze Logic
If the price moves by the "Grid Step" distance against the last allowed level (defined in "Max Grid Levels"), the EA acts according to the selected "Loss Limitation Mode":
 * **In "Close All" mode:** The EA closes all open positions at current market prices, registers the loss, and returns to Step 1.
 * **In "Freeze" mode:**
   1. The EA stops automatically opening new grid levels and enters standby mode.
   2. An interactive button labeled **"Unfreeze"** is displayed in the terminal for the user (or the parameter in the input settings is changed to "Unfrozen").
   3. When unfreezing is activated, the EA immediately analyzes the current market position relative to the last open level.
   4. If the price is at a distance of "Grid Step" or further from the last level, the EA calculates the actual volume for the next (new) level using the martingale formula and opens it at the current market price. The maximum grid level limit is then shifted by +1.
## 2. Adjustable Parameters in the EA Menu
 * **Distance to first entry (in points):** Distance from the current price to set the first pending orders.
 * **Initial Lot:** Volume of the very first order in the grid.
 * **Grid Step (in points):** Fixed distance between subsequent grid orders.
 * **Lot Multiplier:** Coefficient by which the volume of each subsequent level is multiplied.
 * **Take Profit (in points):** Distance from the average break-even price of the entire grid to fix profit.
 * **Max Grid Levels:** Maximum number of open orders within a single grid.
 * **Loss Limitation Mode:** Choice of two options:
   1. *Close All* (SL_CLOSE_ALL)
   2. *Freeze* (SL_FREEZE)

Account and Asset Auto-Detection: The EA must automatically detect the account type (Cent or Standard USD/EUR account) and adjust its calculations to trade with the specified parameters. It must also fully support trading across Forex currencies, Gold, and Cryptocurrencies.

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

1
Разработчик 1
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
2
Разработчик 2
Оценка
(2)
Проекты
2
0%
Арбитраж
1
0% / 0%
Просрочено
0
Свободен
3
Разработчик 3
Оценка
(209)
Проекты
271
21%
Арбитраж
24
50% / 17%
Просрочено
0
Работает
4
Разработчик 4
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
5
Разработчик 5
Оценка
(14)
Проекты
22
45%
Арбитраж
6
33% / 17%
Просрочено
2
9%
Работает
Опубликовал: 7 статей, 35 примеров
6
Разработчик 6
Оценка
(851)
Проекты
1463
72%
Арбитраж
122
29% / 48%
Просрочено
358
24%
Свободен
Опубликовал: 3 статьи
7
Разработчик 7
Оценка
(3)
Проекты
4
0%
Арбитраж
1
100% / 0%
Просрочено
1
25%
Свободен
8
Разработчик 8
Оценка
(174)
Проекты
233
61%
Арбитраж
3
33% / 33%
Просрочено
6
3%
Свободен
Опубликовал: 1 пример
9
Разработчик 9
Оценка
(15)
Проекты
20
25%
Арбитраж
2
50% / 0%
Просрочено
4
20%
Работает
10
Разработчик 10
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
11
Разработчик 11
Оценка
(366)
Проекты
449
55%
Арбитраж
23
57% / 17%
Просрочено
30
7%
Работает
12
Разработчик 12
Оценка
(645)
Проекты
873
48%
Арбитраж
29
38% / 17%
Просрочено
63
7%
Свободен
13
Разработчик 13
Оценка
(10)
Проекты
14
43%
Арбитраж
0
Просрочено
3
21%
Свободен
14
Разработчик 14
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
15
Разработчик 15
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
16
Разработчик 16
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
17
Разработчик 17
Оценка
(298)
Проекты
478
40%
Арбитраж
105
40% / 24%
Просрочено
82
17%
Загружен
Опубликовал: 2 примера
18
Разработчик 18
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
19
Разработчик 19
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
20
Разработчик 20
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
21
Разработчик 21
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
22
Разработчик 22
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
23
Разработчик 23
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
Похожие заказы
ТЕХНИЧЕСКОЕ ЗАДАНИЕ / REVISED TECHNICAL SPECIFICATION Название проекта / Project Name: Creation of a Multi-Currency Grid EA with Hedging Double-Grid Architecture (LEON_EA_v1.0_PRO) Терминал / Platform: MetaTrader 4 (MT4) Язык кода / Language: MQL4 (Source code .mq4 must be provided) Таймфрейм / Timeframe: M5 Рабочие инструменты / Trading Pairs (13 pairs): EURUSD, EURGBP, GBPUSD, NZDCAD, USDCHF, AUDUSD, USDCAD
После пробоя N количества свечей и откате на установленное в настройках количество процентов(от 0 до 99) от величины последней свечи S осуществляется вход в рынок (открытие позиции) на MT5 по тренду с указанным обьёмом лота (по умолчанию 0.01).За направление тренда принимается направление пробития свечей.Для защиты установленного ордера от отрицательного пробоя устанавливается минимальный положительный стоп лосс в
После пробоя N количества свечей и откате на установленное в настройках количество процентов(от 0 до 99) от величины последней свечи S осуществляется вход в рынок (открытие позиции) на MT5 по тренду с указанным обьёмом лота (в настройках).За направление тренда принимается направление пробития свечей.Для защиты установленного ордера от отрицательного пробоя устанавливается минимальный положительный стоп лосс в
Советник должен быть: мультивалютным; мультифреймовым; работать на любом символе; поддерживать несколько экземпляров одновременно; иметь современную информационную панель; корректно работать в тестере стратегий MT4. Также называться ALEXCAPITAL Основная идея Советник должен уметь одновременно сопровождать две независимые сетки: BUY; SELL. При этом противоположная сетка НЕ должна запускаться сразу. Она должна

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

Бюджет
30 - 50 USD