Termos de Referência


📌 Trading Bot Requirements & Functional Description

1. Core Objective

The bot is designed to automate trading on MT5 using ICT-based and price-action strategies with dynamic trade management. It should integrate signal generation, risk management, and execution, while allowing flexibility for future strategy adjustments.


2. Technical Requirements

  • Platform: Python-based, connected to MetaTrader 5 (MT5) for order execution.

  • Data Source: MT5 market data (candles, order book, liquidity pools).

  • Frameworks/Libraries:

    • MetaTrader5 (MT5 Python API)

    • pandas , numpy for data handling

    • Logging module for debugging and backtesting insights

  • Execution Environment: Desktop/server with MT5 installed and broker access.

  • Expandability: Should allow adding new strategies, scoring rules, and execution logics without rewriting core.


3. Functional Modules

(A) Market Structure & Signal Detection

  • Identify swing highs/lows and breaks of structure (BoS).

  • Detect liquidity sweeps (stop hunts around key highs/lows).

  • Validate Order Blocks (OBs) with confluences (e.g., mitigation, displacement).

  • Identify IFVGs (Imbalances / Fair Value Gaps) and determine if they’re valid entry zones.

  • Detect Rejection Candles for additional entry confirmation.

  • Multi-timeframe (HTF/LTF) alignment:

    • Check HTF liquidity sweeps (e.g., H1, H4).

    • Validate LTF entry setups (M5, M15).

  • Session filters: e.g., London, New York open.

  • Scoring system: assign a confidence score to signals based on confluences.


(B) Strategy Manager

  • Evaluate multiple strategies in parallel:

    • Liquidity sweep entries

    • Order block mitigation entries

    • IFVG entries

    • Session-based scalps

  • Apply scoring logic:

    • Reward-to-Risk ratio (RR)

    • Historical win rate of setup

    • Number of confluences

  • Select highest-scoring trade setup at any given time.

  • Option to execute multiple strategies simultaneously (configurable).


(C) Risk & Trade Management

  • Position sizing:

    • % risk per trade (configurable, e.g., 1% of account).

    • Adjust for stop loss distance.

  • Dynamic Stop Loss (SL):

    • Above/below liquidity pools or OBs.

    • Adjusted with buffer (configurable).

  • Take Profit (TP) management:

    • Partial TP at predefined levels (e.g., 1R, 2R).

    • Trailing stop function (move SL to break-even after X RR).

  • Multiple entries:

    • Full entry vs. scaling into positions.

  • Trade filters:

    • Max trades per day.

    • Min risk-to-reward threshold.


(D) Execution (MT5 Integration)

  • Send buy/sell market or limit orders to MT5.

  • Modify SL/TP dynamically from within MT5.

  • Handle errors gracefully:

    • Retry failed orders.

    • Log errors.

  • Monitor open positions and account equity.

  • Close trades when strategy invalidation occurs.


(E) Logging & Monitoring

  • Detailed logging:

    • Signal detection events (why/why not trade was taken).

    • Trade execution (entry, SL, TP, RR, strategy used).

    • Risk % and capital allocation.

  • Debug mode:

    • Show scoring breakdown per trade.

    • Show market structure recognition.

  • Performance tracking:

    • Win/loss stats.

    • Avg RR, max drawdown.

  • (Optional) Export trade history to CSV/Excel for analysis.


4. Non-Functional Requirements

  • Reliability: Must not crash during market hours; recover from MT5 disconnections.

  • Low Latency: Execute trades within seconds of signal detection.

  • Maintainability: Clear modular code (strategy modules, execution module, manager).

  • Scalability: Allow plugging in new strategies with minimal refactor.


5. Complexity Factors

  • Multi-strategy integration with scoring logic (not just one signal → one trade).

  • Dynamic trade management (scaling, partials, trailing).

  • Robust MT5 API handling (execution, modification, monitoring).

  • Real-time confluence checks (OB, liquidity, FVG, candle type, sessions).

  • Extensive logging and debugging features.

  • Expandable architecture (plug-and-play new strategies).


Developer Assessment Takeaway:
This bot is moderate-to-high complexity compared to a simple “crossover bot.” It requires:

  • Advanced price-action signal logic (multi-strategy with confluences).

  • Sophisticated trade management (dynamic SL/TP, partials).

  • A well-structured StrategyManager for decision-making.

  • Resilient MT5 API handling.




Respondido

1
Desenvolvedor 1
Classificação
(3)
Projetos
1
100%
Arbitragem
3
0% / 100%
Expirado
0
Livre
2
Desenvolvedor 2
Classificação
(9)
Projetos
13
0%
Arbitragem
23
0% / 78%
Expirado
4
31%
Livre
3
Desenvolvedor 3
Classificação
(24)
Projetos
30
13%
Arbitragem
12
0% / 75%
Expirado
8
27%
Livre
4
Desenvolvedor 4
Classificação
(1)
Projetos
2
50%
Arbitragem
3
0% / 33%
Expirado
0
Livre
5
Desenvolvedor 5
Classificação
(41)
Projetos
48
27%
Arbitragem
14
21% / 64%
Expirado
1
2%
Carregado
6
Desenvolvedor 6
Classificação
(87)
Projetos
121
68%
Arbitragem
5
80% / 0%
Expirado
12
10%
Trabalhando
7
Desenvolvedor 7
Classificação
(6)
Projetos
8
0%
Arbitragem
8
13% / 88%
Expirado
0
Livre
8
Desenvolvedor 8
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
9
Desenvolvedor 9
Classificação
(296)
Projetos
475
40%
Arbitragem
105
40% / 24%
Expirado
80
17%
Ocupado
Publicou: 2 códigos
10
Desenvolvedor 10
Classificação
(24)
Projetos
31
19%
Arbitragem
4
50% / 25%
Expirado
4
13%
Livre
11
Desenvolvedor 11
Classificação
(22)
Projetos
30
20%
Arbitragem
8
63% / 13%
Expirado
9
30%
Livre
12
Desenvolvedor 12
Classificação
(16)
Projetos
35
23%
Arbitragem
4
0% / 50%
Expirado
2
6%
Trabalhando
13
Desenvolvedor 13
Classificação
(1)
Projetos
1
0%
Arbitragem
3
0% / 100%
Expirado
0
Livre
14
Desenvolvedor 14
Classificação
(13)
Projetos
13
38%
Arbitragem
1
0% / 100%
Expirado
1
8%
Livre
15
Desenvolvedor 15
Classificação
(256)
Projetos
263
30%
Arbitragem
0
Expirado
3
1%
Livre
Publicou: 2 códigos
16
Desenvolvedor 16
Classificação
Projetos
1
0%
Arbitragem
1
100% / 0%
Expirado
0
Livre
17
Desenvolvedor 17
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
18
Desenvolvedor 18
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
19
Desenvolvedor 19
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
20
Desenvolvedor 20
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Pedidos semelhantes
I am able to supply the source code for an MT5 indicator. I am open to the proposal to bring the project to an "alert" stage only i.e. NOT a fully functioning, independent, and automated EA. The alert function would meet all the entry and exit requirements specified - but not execute the trade. PS - I have 3 other files that will not upload. They are not essential to the scoping of the project but I can make them
I need a clear, professional, and strictly rule-based MT5 Expert Advisor. Please follow the specification below exactly as written, without adding extra logic, extra indicators, or personal modifications unless I ask for them later. The goal is to build a universal EA that can work with any custom indicator that provides signals through buffers
Hello, I need a clear, professional, and strictly rule-based MT5 Expert Advisor. Please follow the specification below exactly as written, without adding extra logic, extra indicators, or personal modifications unless I ask for them later. The goal is to build a universal EA that can work with any custom indicator that provides signals through buffers. PROJECT TITLE Universal Indicator EA for MT5 1) GENERAL IDEA The
Looking for experience profitable manual traders that will be willing to trade my live mt5 account for profit share. Requirements Must have at least 6 months of profitable months. Min 10 percent monthly Send me investor credentials for mt5 or mt4 account. Can be trading Any instruments. Must reply with mt5 credentials or will disregard
Title: Advanced Manual Hedge EA with Multiplier & Multiple Trade Support Project Requirements: I need a professional Expert Advisor (EA) for XAUUSD and Forex to manage manual trades with the following logic: Lot Multiplier: The EA must automatically detect my manual trade size. There should be a "Multiplier" input (e.g., 3.0). If I open 1.0 lot Buy, the EA must auto-place a 3.0 lot Sell Stop at the set Gap
Hello, I am looking for a professional programmer to build an EA that can be able to take trades effectively in the correct direction with adequate indices that can help to predict the market move in advance. The EA will also be able to manage multiple trades to ensure that profits activated are closed before any major market reversals. The EA will have a maximum of 3 price indices at the start, and then the
i need a developer who can link my EA to AI and in the same time i want to make a crm and a bot for onboarding clients automatically to the telegram channel
I need an Expert Advisor (EA) programmed and designed to help me with trading. Requirements: * The programmer must have experience in implementing software projects. * The code must be high-quality, clean, clear, and editable at any time, with ownership of the code provided. * It must work on MT4 and MT5 platforms. * The maximum project completion time is 3 days. * The programmer must be cooperative and flexible
I am looking for an experienced MQL5 developer to complete the optimization and structural refinement of an existing MT5 Expert Advisor (source code ~2.5MB). Phase 1 (audit and baseline testing) has already been completed. The remaining work focuses on correcting core system behavior without changing the strategy. Key issues identified: • Scenario gate logic is not correctly structured at the entry decision level •
I am looking for an experienced MQL5 developer to build a fully automated MT5 Expert Advisor based on Session Breaks and Inverted Fair Value Gap (iFVG) logic. The EA must be coded professionally, optimized for backtesting, and written with clean, organized inputs and modular code. Core Strategy The EA should: Mark previous session highs and lows Wait for the current session to break the previous session high or low

Informações sobre o projeto

Orçamento
10000+ USD