Termos de Referência
# 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.
Respondido
1
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
2
Classificação
Projetos
2
0%
Arbitragem
1
0%
/
0%
Expirado
0
Livre
3
Classificação
Projetos
276
21%
Arbitragem
25
52%
/
16%
Expirado
0
Carregado
4
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
5
Classificação
Projetos
31
42%
Arbitragem
10
20%
/
30%
Expirado
3
10%
Carregado
Publicou: 8 artigos, 35 códigos
6
Classificação
Projetos
1469
72%
Arbitragem
123
28%
/
47%
Expirado
360
25%
Trabalhando
Publicou: 3 artigos
7
Classificação
Projetos
4
0%
Arbitragem
1
100%
/
0%
Expirado
1
25%
Livre
8
Classificação
Projetos
233
61%
Arbitragem
3
33%
/
33%
Expirado
6
3%
Livre
Publicou: 1 código
9
Classificação
Projetos
21
29%
Arbitragem
2
50%
/
0%
Expirado
4
19%
Livre
10
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
11
Classificação
Projetos
459
55%
Arbitragem
24
58%
/
17%
Expirado
31
7%
Livre
12
Classificação
Projetos
875
48%
Arbitragem
29
38%
/
17%
Expirado
63
7%
Trabalhando
13
Classificação
Projetos
14
43%
Arbitragem
0
Expirado
3
21%
Livre
14
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
15
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
16
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
17
Classificação
Projetos
478
40%
Arbitragem
105
40%
/
24%
Expirado
82
17%
Carregado
Publicou: 2 códigos
18
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
19
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
20
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
21
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
22
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
23
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Pedidos semelhantes
Ищу опытного программиста MQL5 для разработки пользовательского индикатора ZigZag для MetaTrader 5 с нуля. Индикатор должен строить линии на основе последовательного анализа свечей, их максимумов и минимумов, с учётом определяющих свечей и специальных правил смены направления движения. Алгоритм отличается от стандартного ZigZag. Имеется подробное техническое описание правил построения, по которому необходимо
Robot
30+ USD
Добрый день. Нужен торговый робот, который будет заходит в сделку на покупку при пересечении Stochastica Oscillator уровня 20 и продажу уровня 80 на 15-минутном тайм фрейме. В общем то и все...Пример закреплен в файле
Требуется опытный программист для разработки или предоставления готового торгового робота под золотую пару (XAUUSD). Ключевые требования : Торговый инструмент : XAUUSD (доп 2 пары) Интенсивность : скальпинг / агрессивная торговля (10–20+ сделок в день). Целевая доходность : агрессивный разгон депозита (ориентир от 100% в неделю). Логика алгоритма : на ваше усмотрение (готовы протестировать ваши рабочие стратегии)
ОПИСАНИЕ ЗАДАЧИ ДЛЯ ИСПОЛНИТЕЛЯ: У нас есть полностью готовый, рабочий торговый робот LEON. Исходный код логически завершен, но предыдущий программист поленился и оставил много сырых, наполовину сломанных настроек. Нам требуется провести глубокую, качественную доработку системы до идеала под реальный счет. ВАЖНОЕ ПРЕДУПРЕЖДЕНИЕ: На коленке за 2 часа или за 2 дня сделать работу не получится — мы это сразу увидим при
Ищу опытного разработчика для создания торгового советника (бота) на платформе MetaTrader 5. Бюджет до $500. ВАЖНО: Бот НЕ должен торговать автоматически! Его задача — анализировать рынок, находить точки входа и отправлять готовые сигналы в мой Telegram-канал. Я и мои подписчики будем открывать сделки вручную. Функциональные требования: Платформа: MetaTrader 5. Торговый инструмент: Приоритет XAUUSD (золото). Возможно
Hello, I need a professional MT4/MT5 Expert Advisor (EA) based on an existing compiled indicator (.ex4/.ex5). I do not have the source code. The indicator provides Entry, Take Profit (TP), and Stop Loss (SL) . Main Requirements 1. Indicator Integration • Integrate the indicator directly into the EA. • I should only attach the EA to the chart. • No need to attach the indicator separately. • Include all available
MT5 XAUUSD Drawdown Push Watcher
30+ USD
Нужен простой Expert Advisor для MT5. Советник ничего не торгует и не изменяет позиции. Работает на отдельном счёте Quattro Gold и отслеживает позиции XAUUSD объёмом 0.01. Логика: при появлении новой BUY позиции запомнить цену открытия; если цена снизилась на 20.00 USD по XAUUSD от цены входа — отправить один Push Notification в MT5; для SELL наоборот: если цена выросла на 20.00 USD от цены входа — отправить один
Informações sobre o projeto
Orçamento
30 - 50 USD