Debug and Fix Suspected Memory Leak / Resource Issue in MT5 Expert Advisor (No Strategy Changes)

Tarea técnica

Description

I am looking for an experienced MQL5 developer to investigate and fix a suspected memory or resource usage issue in my MT5 Expert Advisor.

The EA itself works correctly from a strategy and trading logic perspective. The trading model must remain exactly as it currently operates. I am not looking for any changes or optimisation to the strategy.

The goal of this job is purely to identify and fix a technical stability issue, most likely related to memory usage or resource management.


Background

I run the same EA across multiple MT5 terminals on a VPS. The EA places session-based breakout pending orders on Gold and NAS across several charts and brokers.

Recently it has stopped placing orders later on in the trading day. My VPS provider reviewed the MT5 and Windows logs and believes the issue is caused by memory/RAM usage steadily increasing over time until system memory becomes exhausted. Once this happens, MetaTrader begins producing errors.

When this occurs I observe the following behaviour:

  • pending orders not being placed

  • some trades missing

  • inconsistent order placement across terminals

  • EA instances occasionally dropping from charts

Restarting the terminals temporarily restores normal behaviour, which suggests cumulative resource or memory growth during runtime.


Current Setup

  • 6 MT5 terminals running on a VPS

  • The same EA installed on each terminal

  • 10 charts per terminal

  • Brokers include: IC Markets, FTMO, The5ers, FundedNext, and Blueberry Funded

  • Strategy trades Gold and NAS breakout levels

  • Each entry contains two trade legs:

    • Break-even stop loss leg

    • Trailing stop loss leg

  • Multiple pending orders are created at different session levels


Scope of Work

The developer is required to:

  1. Review the EA source code for memory leaks or resource misuse

    This includes checking for issues such as:

    • dynamic arrays growing over time

    • chart objects accumulating

    • indicator handles not being released

    • repeated handle creation

    • inefficient loops or processing on every tick

    • excessive logging or file operations

    • anything that could cause MT5 memory usage to grow continuously

  2. Identify the exact root cause of the increasing RAM usage

  3. Correct the issue so the EA can run long-term without MT5 memory growth or instability

  4. Improve resource management and stability, particularly for multi-chart and multi-terminal VPS environments.

  5. Improve order placement robustness, including better error handling or retry behaviour if necessary.


Critical Requirement – No Strategy Changes

The EA’s trading strategy, entry logic, exit logic, and behaviour must remain exactly the same.

This is extremely important.

The following must not be changed:

  • entry conditions

  • breakout logic

  • stop loss logic

  • trailing stop behaviour

  • session rules

  • trade timing

  • order structure

The purpose of this job is technical stabilisation only. The trading model is already functioning as intended and must remain unchanged.


Deliverables

The developer must provide:

  • a clear explanation of the root cause of the issue

  • a corrected MQ5 source file

  • a summary of all technical changes made

  • confirmation that the trading logic and strategy behaviour remain unchanged

  • optional debug logging if helpful for further monitoring

  • Completed for market open


Developer Requirements

Please apply only if you have strong experience with:

  • MQL5 development

  • MT5 Expert Advisor debugging

  • memory/resource management in MT5

  • multi-chart and multi-terminal EA stability

When responding, please include:

  • your experience debugging resource or memory issues in MQL5

  • how you would approach diagnosing this problem

  • examples of similar work you have done


Archivos adjuntos:

Han respondido

1
Desarrollador 1
Evaluación
(51)
Proyectos
69
35%
Arbitraje
4
25% / 75%
Caducado
0
Libre
2
Desarrollador 2
Evaluación
(32)
Proyectos
35
34%
Arbitraje
5
0% / 80%
Caducado
0
Trabaja
Ha publicado: 2 ejemplos
3
Desarrollador 3
Evaluación
(104)
Proyectos
167
25%
Arbitraje
23
9% / 78%
Caducado
16
10%
Trabaja
4
Desarrollador 4
Evaluación
(16)
Proyectos
35
23%
Arbitraje
4
0% / 50%
Caducado
2
6%
Trabaja
5
Desarrollador 5
Evaluación
(25)
Proyectos
33
24%
Arbitraje
3
33% / 33%
Caducado
4
12%
Libre
6
Desarrollador 6
Evaluación
(253)
Proyectos
259
30%
Arbitraje
0
Caducado
3
1%
Libre
Ha publicado: 2 ejemplos
7
Desarrollador 7
Evaluación
(16)
Proyectos
19
11%
Arbitraje
8
38% / 38%
Caducado
2
11%
Trabajando
8
Desarrollador 8
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
9
Desarrollador 9
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Trabaja
10
Desarrollador 10
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
11
Desarrollador 11
Evaluación
(530)
Proyectos
804
62%
Arbitraje
33
27% / 45%
Caducado
23
3%
Libre
Ha publicado: 1 ejemplo
12
Desarrollador 12
Evaluación
(209)
Proyectos
281
46%
Arbitraje
27
59% / 37%
Caducado
36
13%
Libre
13
Desarrollador 13
Evaluación
(12)
Proyectos
16
13%
Arbitraje
4
50% / 25%
Caducado
4
25%
Trabaja
14
Desarrollador 14
Evaluación
(32)
Proyectos
32
63%
Arbitraje
1
0% / 0%
Caducado
1
3%
Trabaja
Ha publicado: 5 ejemplos
15
Desarrollador 15
Evaluación
(309)
Proyectos
554
35%
Arbitraje
78
32% / 42%
Caducado
200
36%
Trabajando
16
Desarrollador 16
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
17
Desarrollador 17
Evaluación
(628)
Proyectos
848
47%
Arbitraje
29
38% / 14%
Caducado
63
7%
Trabaja
18
Desarrollador 18
Evaluación
(3)
Proyectos
3
33%
Arbitraje
0
Caducado
0
Trabaja
19
Desarrollador 19
Evaluación
(168)
Proyectos
199
48%
Arbitraje
3
33% / 33%
Caducado
2
1%
Trabaja
20
Desarrollador 20
Evaluación
(3)
Proyectos
1
100%
Arbitraje
3
0% / 100%
Caducado
0
Libre
21
Desarrollador 21
Evaluación
(39)
Proyectos
44
25%
Arbitraje
13
8% / 69%
Caducado
1
2%
Ocupado
22
Desarrollador 22
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
Solicitudes similares
TORUNZ 😎 30+ USD
The robot should use different indicators for a example smart money indicator and market structure structure and break indicators in order for it to enter the market, it should also be able to tell false breakouts is the Bollinger indicator, and if the market is confirmed to be profitable,the robot should rebuy or resell the market according to the predictions made, it should execute the trades if the market reverses
I need an advisor created that opens a position with 0.10 lot size when a bull cross arrow appears on the m5 time frame and closes the trade after exactly one candle stick, the ea does the same thing over and over, a bull cross appear on m5 timeframe, and it opens 1 position with 0.10 lot size, and closes it after one candlestick on m5... If possible, provide a demo version
Cash Flow EA 30+ USD
I want a trading robot with proper risk management and good trading strategies it must make money ,place stop loss below the entry and place a take profit no loss only wins mostly trade major
Busco un robot para trading de scalping en oro o forex, el robot debe ser rentable en esos mercados, podemos automatizar mi estrategia basada en medias móviles con estrategia de scalping o bien si él desarollador tiene uno que funcione así y sea rentable podemos ver la opción de un demo o cuenta de lectura para estar seguros de la rentabilidad en el robot
MT4 EA TO TAKE TRADES FROM (A) HYDRA TREND RIDER AND (B) IQ GOLD GANN LEVELS ON MQL5.COM The MT4 version of these two indicators can be found on the mql5.com website with the following links: Hydra Trend Rider: https://www.mql5.com/en/market/product/111010?source=Site +Profile+Seller IQ Gold Gann Levels: https://www.mql5.com/en/market/product/134335?source=Site +Profile+Seller (1) ENTRY (a) Hydra Trend Rider
I have a strategy for US100 where I want a bot to trade according to my strategy, contact me who have proven experience in making bots for MT4 or MT5
Job Description We are looking for an experienced MQL5 developer to build a professional Expert Advisor (EA) for MetaTrader 5 based on a detailed quantitative trading model. The EA will trade XAUUSD (Gold) on the M5 timeframe using a Session Breakout + Fibonacci Retracement strategy with advanced institutional-level filters. The system includes volatility filters, liquidity sweep detection, London session
I need an experienced MQL5 developer to modify my existing MT5 EA by replacing the current entry logic with a new breakout strategy and implementing strict prop-firm safety protections. The EA must behave exactly as specified below. If the final EA does not match the logic described, I will request revisions until it does. SYMBOL AND TIMEFRAME Symbol: USDJPY Timeframe: M15 only TRADING SESSION Trades may only open
I am looking to purchase an existing and profitable Expert Advisor (EA) designed for Gold (XAUUSD) scalping. This is not a request to develop a new EA . I am only interested in a ready system that is already trading profitably on a live account . Requirements • Designed for Gold / XAUUSD • Compatible with MetaTrader 5 (MT5) • Scalping strategy (preferably M1 or M5) • Verified live trading performance (preferably 6
2 FX pairs M15 execution with higher timeframe bias Session-based trading (UK time) Fixed % risk per trade Controlled pyramiding (add to winners only) Strict daily loss limits (FTMO-style) Proper order handling (SL always set) Basic logging (CSV) Strategy logic will be provided in detail after NDA / agreement. Must deliver: Source code (.mq5) Compiled file (.ex5) Clean, well-commented code Short support window for

Información sobre el proyecto

Presupuesto
50 - 100 USD
Plazo límite de ejecución
a 2 día(s)

Cliente

(1)
Encargos realizados3
Número de arbitrajes0