Tarea técnica


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




Han respondido

1
Desarrollador 1
Evaluación
(2)
Proyectos
1
100%
Arbitraje
2
0% / 100%
Caducado
0
Libre
2
Desarrollador 2
Evaluación
(8)
Proyectos
12
0%
Arbitraje
22
0% / 77%
Caducado
4
33%
Libre
3
Desarrollador 3
Evaluación
(24)
Proyectos
30
13%
Arbitraje
10
0% / 50%
Caducado
8
27%
Trabajando
4
Desarrollador 4
Evaluación
(1)
Proyectos
2
50%
Arbitraje
3
0% / 33%
Caducado
0
Libre
5
Desarrollador 5
Evaluación
(27)
Proyectos
29
7%
Arbitraje
11
9% / 64%
Caducado
0
Ocupado
6
Desarrollador 6
Evaluación
(86)
Proyectos
118
69%
Arbitraje
5
80% / 0%
Caducado
11
9%
Trabaja
7
Desarrollador 7
Evaluación
(6)
Proyectos
8
0%
Arbitraje
8
13% / 75%
Caducado
0
Trabaja
8
Desarrollador 8
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
9
Desarrollador 9
Evaluación
(294)
Proyectos
469
39%
Arbitraje
100
41% / 23%
Caducado
77
16%
Trabajando
Ha publicado: 2 ejemplos
10
Desarrollador 10
Evaluación
(24)
Proyectos
31
19%
Arbitraje
4
50% / 25%
Caducado
4
13%
Libre
11
Desarrollador 11
Evaluación
(22)
Proyectos
30
20%
Arbitraje
8
63% / 13%
Caducado
9
30%
Libre
12
Desarrollador 12
Evaluación
(15)
Proyectos
34
24%
Arbitraje
4
0% / 50%
Caducado
2
6%
Trabaja
13
Desarrollador 13
Evaluación
(1)
Proyectos
1
0%
Arbitraje
3
0% / 100%
Caducado
0
Libre
14
Desarrollador 14
Evaluación
(12)
Proyectos
12
33%
Arbitraje
1
0% / 100%
Caducado
1
8%
Libre
15
Desarrollador 15
Evaluación
(246)
Proyectos
253
30%
Arbitraje
0
Caducado
3
1%
Libre
Ha publicado: 2 ejemplos
16
Desarrollador 16
Evaluación
Proyectos
1
0%
Arbitraje
1
100% / 0%
Caducado
0
Libre
17
Desarrollador 17
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
18
Desarrollador 18
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
19
Desarrollador 19
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
20
Desarrollador 20
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
Solicitudes similares
I have an issue with my ninja script and i would like you to help me straighten things I wanted to create an indicator and i have the source code already but i am getting compiling errors on my NinjaTrader And i tried fixing the error it still same I sent 3 images here for you to understand the errors and i would like to ask if you can help me fix it so i can go ahead and compile my source code. Thanks
Good day, I would like to build an automated trading system for Ninjatrader using 2 MACD, a Supertrend, and a moving average indicator. I want the option to adjust the indicator settings, the ability to trade at three different times, and the option to receive alerts. I want to get an idea of what that will cost me. It will enter trades on all blue take one contract out at a fixed point, move the stop to break even
I need an MQL5 indicator that identifies reversals without repainting or placing signals with an offset. The goal is to minimize lag and reduce whipsaw trades. Desired results are similar to the attached image. Requirements: - No repainting - No signal offset - Emphasis on reducing lag - MQL5 compatible - Clear, concise code If you have the expertise to create a reliable, high-performance indicator, let's discuss
I'm looking for a skilled trader/developer to share a proven scalping strategy on M1-M5 timeframes without using Martingale, Grid trading, or Hedge. Requirements: - Minimum trade duration: 2 minutes - Lot size: <20 - Proof of skill: Provide MT4/MT5 trade history report (PDF/HTML) - No High Frequency Trades - GMT+1 timezone, flexible hours - Price negotiable, performance-based compensation possible If you're a
Good day, I would like to build an automated trading system for Ninjatrader using 2 MACD, a Supertrend, and a moving average indicator. I want the option to adjust the indicator settings, the ability to trade at three different times, and the option to receive alerts. I want to get an idea of what that will cost me. It will enter trades on all blue take one contract out at a fixed point, move the stop to break even
I have an indicator i need automated i use it manually and it plots arrows. Can you automate it for my Ninjatrader8? Do you need to see file? Expert Ninjatrader Developer can Bid for this project
Hi! I need a trading bot/robot to automate my trades. I don't need much complicated bot. I want it to enter, exit trade and can do this in matter of second or multiple times in a second. Should be able to adjust, put SL/TP in the same menu. Would appreciate your ideas! Please write to me before anything else
Hi, im not looking into developing a new EA. I am looking into purchasing an existing EA that can deliver such results like: mq5 source, 4‑year backtest (2022‑2025) report, equity curve, trade list, strategy description, and 1‑month demo access. Please without concrete prove of experience functioning existing EA working perfectly and as contained on my description, then we can't strike a deal. Thank you
Title: Ultimate Quantum EA V1.01 | Dynamic Hedge Recovery System Description: Professional automated trading system designed for high-precision execution and advanced risk management. Key Features: Dynamic Hedge Recovery: Automatically manages losing trades by opening calculated hedge positions (2x-3x) to exit in total profit. Basket Profit Management: Closes all open positions once the total dollar profit target is
I am looking for an experienced MT5 (MQL5) Expert Advisor developer to fix a chart distortion / corruption issue in my existing EA ( EA ALPHA ). Issue Description When the EA is attached to the chart on a specific broker (ATFX), the chart becomes visually distorted The distortion appears on the left-hand side / historical area of the chart The same EA works correctly on other brokers (e.g. CFI) A previous developer

Información sobre el proyecto

Presupuesto
10000+ USD