Development of a Production-Grade MQL5 Machine Learning Expert Advisor with Embedded ONNX Runtime Inference & Multi-Layered Risk Management Architecture

Specifiche

SECTION 1: OVERVIEW AND COMPONENT ARCHITECTURE

The objective of this project is to build a fully automated Trading System in native MQL5 that integrates a pre-trained Open Neural Network Exchange (ONNX) machine learning model into MetaTrader 5. The EA must be engineered using strict Object-Oriented Programming (OOP) paradigms, featuring clean decoupling between signal inference, execution handlers, and risk management modules. The system must maintain zero memory leaks through deterministic pointer lifecycle management and operate reliably on both Netting and Hedging account structures without dependency on third-party libraries outside native MQL5 bindings.

SECTION 2: MACHINE LEARNING & TENSOR PIPELINE

Inference must be handled directly through MetaTrader 5 native ONNX functions (OnnxCreate , OnnxRun ). The input pipeline must implement strict parity with the feature engineering transformations developed in Python (CatBoost / PyTorch / Scikit-Learn).

The EA is responsible for maintaining rolling historical data buffers in memory to generate real-time feature vectors on a bar-close or tick-by-tick basis. Input float/double arrays must match the exact shape and layout expected by the model tensor [1, N] . Execution guardrails must be implemented to reject any trade signals if model evaluation outputs NaN , invalid probabilities, or if inference evaluation time exceeds 5 milliseconds. On inference exception, the EA must safely abort signal propagation and log a system warning to the terminal journal without opening default or unchecked positions.

SECTION 3: ORDER EXECUTION AND RISK CONTROL

Trade execution must utilize the native CTrade class or a custom robust execution wrapper with explicit slippage parameters, retry limits, and return code handling (TRADE_RETCODE_DONE ). Every market order must submit a hard Stop Loss and Take Profit attached directly within the initial trade request matrix; orders placed without mandatory protective stops are strictly forbidden.

Risk management must operate independently of the machine learning signal generator. The system must feature dynamic position sizing calculated as a fixed fractional risk percentage of account equity, optionally adjusted for volatility using historical ATR. Martingale, grid expansion, or unhedged position-averaging logic are strictly prohibited.

Hard account protection controls must enforce:

  1. Daily Max Equity Drawdown Limit: Immediate position liquidation and dynamic trading pause until the next daily reset.

  2. Absolute Account Trailing/Static Drawdown Limit: Permanent trading lockout with forced closure of all open positions upon breach.

  3. Spread and Liquidity Filter: Automatic block on trade placement during news events or periods where market spread exceeds predefined point limits.

SECTION 4: DIAGNOSTICS, LOGGING, AND CHART DISPLAY

The EA must output continuous operational telemetry to both the MetaTrader 5 Experts Journal and a structured CSV log file located in the MQL5 Files directory. Log entries must detail timestamps, raw feature vector values, raw model outputs, trade decision logic, slippage in points, and execution latency measured in milliseconds.

An optional, lightweight on-chart panel must render essential runtime metrics, including current model prediction probabilities, system operation status, daily net PnL, current floating drawdown, and account equity tracking.

SECTION 5: DELIVERABLES AND ACCEPTANCE TEST PROTOCOL

The developer must deliver the complete .mq5 source code, all custom .mqh header dependencies, and a sample .onnx model file for system verification. Acceptance requires successful backtesting on MetaTrader 5 Strategy Tester over multi-year tick data (Every Tick Based on Real Ticks) with zero uncaught execution errors, no unhandled trade context errors, zero memory leak warnings upon deinitialization (OnDeinit ), and full compliance with specified daily drawdown safety limits.


Con risposta

1
Sviluppatore 1
Valutazioni
(329)
Progetti
515
19%
Arbitraggio
35
46% / 31%
In ritardo
34
7%
In elaborazione
2
Sviluppatore 2
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
3
Sviluppatore 3
Valutazioni
(291)
Progetti
363
30%
Arbitraggio
37
27% / 65%
In ritardo
10
3%
Occupato
Pubblicati: 10 codici
4
Sviluppatore 4
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
5
Sviluppatore 5
Valutazioni
(402)
Progetti
520
24%
Arbitraggio
61
57% / 25%
In ritardo
60
12%
Caricato
6
Sviluppatore 6
Valutazioni
(24)
Progetti
32
38%
Arbitraggio
4
50% / 25%
In ritardo
5
16%
In elaborazione
7
Sviluppatore 7
Valutazioni
(2)
Progetti
2
0%
Arbitraggio
1
0% / 100%
In ritardo
0
Gratuito
8
Sviluppatore 8
Valutazioni
(3)
Progetti
9
67%
Arbitraggio
0
In ritardo
0
In elaborazione
9
Sviluppatore 9
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 3 codici
10
Sviluppatore 10
Valutazioni
(2)
Progetti
3
33%
Arbitraggio
1
0% / 0%
In ritardo
1
33%
In elaborazione
Pubblicati: 3 codici
11
Sviluppatore 11
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
12
Sviluppatore 12
Valutazioni
(5)
Progetti
6
67%
Arbitraggio
0
In ritardo
0
In elaborazione
Pubblicati: 1 articolo, 2 codici
13
Sviluppatore 13
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 2 codici
14
Sviluppatore 14
Valutazioni
(21)
Progetti
27
41%
Arbitraggio
3
33% / 67%
In ritardo
3
11%
Gratuito
15
Sviluppatore 15
Valutazioni
(7)
Progetti
6
0%
Arbitraggio
4
25% / 75%
In ritardo
2
33%
Gratuito
16
Sviluppatore 16
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
17
Sviluppatore 17
Valutazioni
(213)
Progetti
278
21%
Arbitraggio
26
58% / 15%
In ritardo
0
Caricato
18
Sviluppatore 18
Valutazioni
(119)
Progetti
169
38%
Arbitraggio
9
78% / 22%
In ritardo
15
9%
Gratuito
19
Sviluppatore 19
Valutazioni
Progetti
1
0%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 11 codici
20
Sviluppatore 20
Valutazioni
(47)
Progetti
62
55%
Arbitraggio
7
86% / 0%
In ritardo
2
3%
Gratuito
21
Sviluppatore 21
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
0
In ritardo
0
Gratuito
22
Sviluppatore 22
Valutazioni
(23)
Progetti
32
41%
Arbitraggio
9
22% / 33%
In ritardo
4
13%
Caricato
Pubblicati: 8 articoli, 35 codici
23
Sviluppatore 23
Valutazioni
(185)
Progetti
199
47%
Arbitraggio
4
50% / 25%
In ritardo
1
1%
In elaborazione
24
Sviluppatore 24
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 5 codici
25
Sviluppatore 25
Valutazioni
(6)
Progetti
6
33%
Arbitraggio
0
In ritardo
0
In elaborazione
26
Sviluppatore 26
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
27
Sviluppatore 27
Valutazioni
(10)
Progetti
12
33%
Arbitraggio
0
In ritardo
2
17%
In elaborazione
Pubblicati: 1 codice
28
Sviluppatore 28
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 1 codice
29
Sviluppatore 29
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
30
Sviluppatore 30
Valutazioni
(170)
Progetti
265
62%
Arbitraggio
4
50% / 25%
In ritardo
10
4%
Gratuito
31
Sviluppatore 31
Valutazioni
(515)
Progetti
554
53%
Arbitraggio
13
69% / 15%
In ritardo
3
1%
Gratuito
32
Sviluppatore 32
Valutazioni
(22)
Progetti
30
20%
Arbitraggio
8
63% / 13%
In ritardo
9
30%
Gratuito
33
Sviluppatore 33
Valutazioni
(21)
Progetti
28
36%
Arbitraggio
7
14% / 71%
In ritardo
2
7%
Gratuito
34
Sviluppatore 34
Valutazioni
(25)
Progetti
31
13%
Arbitraggio
14
0% / 79%
In ritardo
9
29%
Gratuito
35
Sviluppatore 35
Valutazioni
(20)
Progetti
26
38%
Arbitraggio
6
33% / 50%
In ritardo
0
Gratuito
36
Sviluppatore 36
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
Ordini simili
MarketMind Breakout Pro XAUUSD H1 — Donchian Breakout EA Project type: Personal EA development and backtesting Platform: MetaTrader 5 Instrument: XAUUSD Timeframe: H1 Strategy: Donchian Channel breakout with EMA 200 Project overview This project evaluates a Donchian breakout trading strategy for XAUUSD on the H1 timeframe. The system uses channel-based breakout conditions and an EMA 200 trend filter. Historical
The purpose of this order is ONLY to test and implement my H1 POI (Point of Interest) identification logic correctly. I am not requesting the complete EA at this stage. I will provide the exact rules for identifying the H1 POI after selecting the developer. The developer must convert those rules into clear, deterministic MQL5 logic. Requirements: Analyze H1 candles according to the rules I provide. Identify and mark
Diusang 50 - 533 USD
TITLE: Diusang EA - [ e.g. Gold M1 Scalping Robot ] 1. PLATFORM: MT4 or MT5 ? 2. PAIR / TIMEFRAME: e.g. XAUUSD M1, M5 3. STRATEGY LOGIC: - Entry Buy when: ... - Entry Sell when: ... - Indicator settings: ... 4. RISK MANAGEMENT: - Lot size: Fixed 0.01 / Auto lot from balance? - Stop Loss: ... pips - Take Profit: ... pips - Max trades: ... 5. OTHER FEATURES: - Trailing stop? Yes/No - Trading hours
Title: Fully Automatic MT5 Trading Bot (Expert Advisor) with Risk Management I want a fully automated trading robot (Expert Advisor) for MetaTrader 5, written in MQL5. The bot must automatically analyse market data, identify trading opportunities, execute BUY and SELL orders, manage open positions, and close trades according to predefined rules without requiring manual confirmation for each trade. Requirements
Hello, I’m looking for an experienced developer to research, build, test, and install a fully automated MetaTrader 5 trading bot for gold, XAUUSD. My total development and installation budget is $300, including all agreed work and fees. My goal is to pass a $100,000 FTMO US Two-Step Standard evaluation and sustainably maintain the funded account. I need a day-trading strategy that can buy in bullish markets and sell
I have three indicators that operate independently. I want to combine them into one indicator with custom expert programming that automatically enters trades when a signal is generated by one of the indicators. I will pay for this service Thanks you
Existing EA: NEW_CORE_ORB_M5_v021 | MT5 | XAUUSD M5 Early-stage research prototype, not a new EA from scratch. Need an experienced MQL5 developer to audit, complete, repair, improve and test BOTH independent strategies equally: Opening Range Breakout (ORB) and Scalp. Keep code lightweight and preserve an untouched baseline. No unnecessary rewrite or complex filters. 1. ORB Strategy Verify opening-range construction
Espert 30+ USD
I want to create a robot with 10 indicators.All to take a trade and all in stop folowing. Thanks to put in THE PARAMETERS Yes/No for the indicators to entry in position AND to the stop A trade with 2 takes profit and a breakeaven at the first TP. The goal is to be able to try the multiple combinations with these indicators
Hello International Developer, I need LIFETIME MT5 EA for XAUUSD Gold. REQUIREMENTS: 1. Lifetime bot - No expiry date, unlimited accounts, unlimited installations 2. Must include source code .mq5 file - This makes it lifetime 3. Every trade MUST have Stop Loss 300 points and Take Profit 600 points 4. No martingale, No grid, No averaging - Clean safe strategy 5. Auto lot size = 1% risk per trade for good margin growth
Expert advisor 150+ USD
Hiring: Forex Strategist & MQL5 Developer for Long-Term EA Development I am looking for an experienced Forex Strategist and MT5 (MQL5) Developer to work with me on an ongoing project to develop, test, improve, and optimize a profitable Forex Expert Advisor (EA). My Message to the Developer My budget is $150 . However, this is not intended to be a one-time payment for a finished product. I want an ongoing working

Informazioni sul progetto

Budget
500 - 1995 USD
Scadenze
da 1 a 14 giorno(i)

Cliente

Ordini effettuati1
Numero di arbitraggi0