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

MQL5 Experten Forex

Spezifikation

# 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.

Bewerbungen

1
Entwickler 1
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
2
Entwickler 2
Bewertung
(2)
Projekte
2
0%
Schlichtung
1
0% / 0%
Frist nicht eingehalten
0
Frei
3
Entwickler 3
Bewertung
(202)
Projekte
263
22%
Schlichtung
23
52% / 17%
Frist nicht eingehalten
0
Arbeitet
4
Entwickler 4
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
5
Entwickler 5
Bewertung
(12)
Projekte
15
33%
Schlichtung
5
40% / 20%
Frist nicht eingehalten
1
7%
Arbeitet
Veröffentlicht: 6 Artikel, 34 Beispiele
6
Entwickler 6
Bewertung
(851)
Projekte
1461
72%
Schlichtung
122
29% / 48%
Frist nicht eingehalten
356
24%
Arbeitet
Veröffentlicht: 3 Artikel
7
Entwickler 7
Bewertung
(3)
Projekte
4
0%
Schlichtung
1
100% / 0%
Frist nicht eingehalten
1
25%
Frei
Ähnliche Aufträge
Нужно доработать существующий робот. Робот торгует по стратегии сетка, нужно добавить тралл, т.е. чтобы последний ордер сетки закрывался по траллу, при этом первый ордер сетки должен закрыться в убыток за счет одного или нескольких прибыльных ордеров
Добрый день. Нужен действующий советник для разгона депозита от 100$ с возможность проверить на Демо счёте для МТ5 с указанием: для какого инструмента (валютные пары, металлы и т.д.) настройки к советнику тип счёта (Центовый или стандарт) Жду предложений
Нужно разработать индикатор по тиковым паттернам. Паттерны будут обсуждаться отдельно. Ни чего сложно го в паттернах нет, лишь бы в MQL5 можно было работать с массивами тиков. Пример паттернов, количество тиков за время X по Биду больше количества N. Или паранормальная свеча (больше количество заданных пунктов) по Биду при отсуствии паранормальной по аску
Переписать код на MT5. В общем то и всё. Просто что бы работал в терминале MT5. Ну, не знаю, что ещё написать. Переписать на МТ5. Что бы работал на МТ5. На МТ5 что бы работал
Эту советник надо автоматизировать и добавить функции время 5мин 10мин 15мин и лот 0.1 0.2 0.3 0.4 должно бить управляемим самое главное его надо декомплировать или на его основе создават советник

Projektdetails

Budget
30 - 50 USD
MwSt (24%): 7.2 - 12 USD
Insgesamt: 37 - 62 USD
Für die Entwickler
27 - 45 USD

Kunde

Veröffentlichte Aufträge1
Anzahl der Schlichtungen0