Ambika

MQL5 Эксперты

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

Время выполнения 11 дней

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

📌 Project: Multi-Layer Pending Order EA (MT5)


1. Overview

The EA should:

  • Detect a manual pending order placed by the user

  • Create 3 additional layered pending orders based on it

  • Treat each manual order as an independent group

  • Activate only after Stop Loss (SL) is set

  • Keep SL/TP synchronized across group orders

  • On Take Profit (TP) hit, perform:

    • Pending cancellation OR

    • Break Even (BE) action (based on conditions)


2. Group Concept (Core Logic)

  • Each manual pending order = one unique group

  • Each group must be identified using:

    • Magic Number (recommended) OR

    • Unique Order Comment (Group ID)

👉 Important:

  • Groups must be completely independent

  • No cross-interference between groups


3. Activation Rule (SL Required)

  • EA must NOT take any action until:

    • The manual order has a Stop Loss set

Conditions:

  • SL = 0 → ❌ No action

  • SL is set → ✅ Activate EA for that order


4. Order Structure (Example - Buy)

🔹 Base Order (Manual)

  • Entry Price = 4809

  • Stop Loss = 4800

  • Take Profit = 4813


🔹 EA Layer Orders (after SL is set)

  1. Layer 1

    • Entry = 4808

    • SL = 4800

    • TP = 4813 + 5 = 4818

  2. Layer 2

    • Entry = 4807

    • SL = 4800

    • TP = 4818 + 5 = 4823

  3. Layer 3

    • Entry = 4806

    • SL = 4800

    • TP = ❌ No TP (leave open)


5. SL / TP Synchronization

If the user modifies the base order:

When SL is changed:

  • EA must update SL of all pending layer orders in the same group

When TP is changed:

  • EA must recalculate and update TP for all layer orders:

    • Layer 1 → Base TP + 5

    • Layer 2 → Previous layer TP + 5

    • Layer 3 → No TP

👉 Only pending orders should be updated
👉 Do NOT modify already filled trades


6. Execution Behavior

  • Orders may be filled partially or fully

  • EA should only monitor until conditions are triggered


7. Take Profit Logic (Core Behavior)

🔹 Case 1: Pending Orders Still Exist

If:

  • Base order TP is hit

  • AND some group orders are still pending

Action:

  • ❌ Cancel ONLY remaining pending orders of that group

  • ✅ Do NOT affect filled/open trades


🔹 Case 2: All Orders Filled

If:

  • All group orders are filled (Base + 3 layers = 4 trades open)

  • AND price reaches Base TP

Action:

  • ✅ Set Break Even (BE) for all open trades


8. Break Even Logic

Preferred:

  • Basket Average BE

    • SL = weighted average price of all open trades

Alternative:

  • Individual BE per trade (optional)


9. Multi-Group Handling

Example:

Group 1:

  • 4809 + (4808, 4807, 4806)

Group 2:

  • 4780 + (4779, 4778, 4777)


If:

  • Group 1 TP is hit

Then:

  • ✅ Apply logic ONLY to Group 1

  • ❌ Do NOT affect Group 2


10. Restrictions

The EA must NOT:

  • Interfere with other groups

  • Cancel unrelated pending orders

  • Modify open trades unnecessarily


11. Final Summary

  • SL must be set → EA activates

  • 1 manual order = 1 group

  • EA creates 3 layered pending orders

  • SL/TP changes → auto synchronized

  • TP hit:

Case A:

  • Pending exists → cancel pending

Case B:

  • All filled → move all trades to BE


12. One-Line Logic

👉 SL set → create layers → sync updates → TP hit → cancel pending OR move all trades to BE (based on fill status)


End of Specification



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

1
Разработчик 1
Оценка
(62)
Проекты
90
29%
Арбитраж
24
13% / 58%
Просрочено
7
8%
Работает
2
Разработчик 2
Оценка
(636)
Проекты
745
34%
Арбитраж
49
53% / 39%
Просрочено
14
2%
Работает
3
Разработчик 3
Оценка
(2)
Проекты
2
0%
Арбитраж
0
Просрочено
0
Свободен
4
Разработчик 4
Оценка
(258)
Проекты
269
29%
Арбитраж
2
50% / 0%
Просрочено
3
1%
Работает
Опубликовал: 2 примера
5
Разработчик 5
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
6
Разработчик 6
Оценка
(45)
Проекты
53
57%
Арбитраж
2
100% / 0%
Просрочено
1
2%
Свободен
Опубликовал: 5 примеров
7
Разработчик 7
Оценка
(16)
Проекты
20
0%
Арбитраж
10
0% / 80%
Просрочено
6
30%
Свободен
8
Разработчик 8
Оценка
(10)
Проекты
12
0%
Арбитраж
3
33% / 33%
Просрочено
0
Свободен
Похожие заказы
Hello, I already have an MT5 Expert Advisor for XAUUSD based on Fibonacci, market structure, BOS/CHoCH and swing trading. I need an experienced MQL5 developer to modify my existing EA, not develop a completely new one. Required modifications: Partial take-profit system with multiple TP levels. Keep profit targets conservative, using Fibonacci extension levels. Stop-loss placement beyond liquidity areas, not exactly
Exir AI 30 - 200 USD
I need an experienced MQL5 developer to build a custom AI-assisted Expert Advisor (EA) for MetaTrader 5. The EA will run on a live MT5 account with Tickmill and must support Forex and Crypto CFDs. Required instruments: - EURUSD - GBPUSD - USDJPY - XAUUSD - BTCUSD - ETHUSD Required timeframes: - M5, M15, and M30 Trading logic: - M30 determines the overall trend. - M15 identifies entry zones, support/resistance, and
Hello, I am an independent developer selling an Expert Advisor (EA) on the MQL5 Market. I am looking for an experienced Forex affiliate marketing company or professional marketer to promote my existing MT5 trading robot to customers worldwide. My proposed partnership offers a 35% commission per verified sale, with the possibility of a long-term collaboration. I would like to know: Do you promote third-party MT5
I am a serious trader looking to acquire an existing, stable, and consistently profitable Expert Advisor (EA) specifically designed primarily for Gold (XAUUSD). This is an outright purchase. I am not interested in developing a new EA from scratch. I am only interested in ready-to-use systems with a genuine, verifiable track record of performance
I am a serious buyer looking to acquire an existing, stable, and consistently profitable Expert Advisor (EA) specifically designed primarily for Gold (XAUUSD). This is an outright purchase. I am not interested in developing a new EA from scratch. I am only interested in ready-to-use systems with a genuine, verifiable track record of performance. ✅ EA Requirements Mandatory Demo Testing on DuraMarket Testing on a
USD54 Applications The bot should open trades when the price breaks out of the band by a specified percentage, for example, 0.10%. If the price breaks above the band, the bot should open a long position. If the price breaks below the band, it should open a short position. The bot should also open trades when the price touches a band: Bullish band cross: When a bullish cross occurs between the bands, the bot should
#property strict #property version "1.00" #property description "EMA Trend + Pullback + Engulfing EA" // Include the standard MT5 trade library. #include <Trade/Trade.mqh> CTrade trade; //============================================================== // INPUT SETTINGS //============================================================== // Trend indicators input int FastEMA = 20; input int SlowEMA = 50; // Pullback
Title: Build a Semi-Automated MT5 Execution Assistant (MQL5) with Custom Panel Description: I am looking for an experienced MQL5 developer to build a semi-automated execution assistant for MetaTrader 5. I know this is a standard semi-automated panel with trade management. I am looking for a developer who has an existing GUI/panel library and standard trade management modules that can be adapted quickly. If you are
Trade copier EA 40+ USD
Develop a low-latency trade copier EA supporting MT4 and MT5 in all directions, across different brokers, with one master account copying to multiple follower accounts. Automatically adapt symbol names, price digits, contract sizes, and lot-size limits, with manual symbol mapping available. Support fixed lots, lot multipliers, and equity-proportional sizing. Synchronize market and pending orders, modifications
Hello, I’m looking for an experienced MQL5 developer to build a genuine ultra-fast HFT robot for MetaTrader 5, not a conventional scalping EA. The main instruments are EURUSD, BTCUSD, and XAUUSD. Requirements include fast execution, independent strategies, strict risk management, spread/slippage protection, separate optimization for each instrument, full MQ5 source code without a mandatory license lock, and detailed

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

Бюджет
60+ USD