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

Spezifikation

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


Bewerbungen

1
Entwickler 1
Bewertung
(51)
Projekte
69
35%
Schlichtung
4
25% / 75%
Frist nicht eingehalten
0
Frei
2
Entwickler 2
Bewertung
(32)
Projekte
35
34%
Schlichtung
5
0% / 80%
Frist nicht eingehalten
0
Arbeitet
Veröffentlicht: 2 Beispiele
3
Entwickler 3
Bewertung
(104)
Projekte
167
25%
Schlichtung
23
9% / 78%
Frist nicht eingehalten
16
10%
Arbeitet
4
Entwickler 4
Bewertung
(16)
Projekte
35
23%
Schlichtung
4
0% / 50%
Frist nicht eingehalten
2
6%
Arbeitet
5
Entwickler 5
Bewertung
(25)
Projekte
33
24%
Schlichtung
3
33% / 33%
Frist nicht eingehalten
4
12%
Frei
6
Entwickler 6
Bewertung
(253)
Projekte
259
30%
Schlichtung
0
Frist nicht eingehalten
3
1%
Frei
Veröffentlicht: 2 Beispiele
7
Entwickler 7
Bewertung
(16)
Projekte
19
11%
Schlichtung
8
38% / 38%
Frist nicht eingehalten
2
11%
Beschäftigt
8
Entwickler 8
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
9
Entwickler 9
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Arbeitet
10
Entwickler 10
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
11
Entwickler 11
Bewertung
(530)
Projekte
804
62%
Schlichtung
33
27% / 45%
Frist nicht eingehalten
23
3%
Frei
Veröffentlicht: 1 Beispiel
12
Entwickler 12
Bewertung
(209)
Projekte
281
46%
Schlichtung
27
59% / 37%
Frist nicht eingehalten
36
13%
Frei
13
Entwickler 13
Bewertung
(12)
Projekte
16
13%
Schlichtung
4
50% / 25%
Frist nicht eingehalten
4
25%
Arbeitet
14
Entwickler 14
Bewertung
(32)
Projekte
32
63%
Schlichtung
1
0% / 0%
Frist nicht eingehalten
1
3%
Arbeitet
Veröffentlicht: 5 Beispiele
15
Entwickler 15
Bewertung
(309)
Projekte
554
35%
Schlichtung
78
32% / 42%
Frist nicht eingehalten
200
36%
Beschäftigt
16
Entwickler 16
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
17
Entwickler 17
Bewertung
(628)
Projekte
848
47%
Schlichtung
29
38% / 14%
Frist nicht eingehalten
63
7%
Arbeitet
18
Entwickler 18
Bewertung
(3)
Projekte
3
33%
Schlichtung
0
Frist nicht eingehalten
0
Arbeitet
19
Entwickler 19
Bewertung
(168)
Projekte
199
48%
Schlichtung
3
33% / 33%
Frist nicht eingehalten
2
1%
Arbeitet
20
Entwickler 20
Bewertung
(3)
Projekte
1
100%
Schlichtung
3
0% / 100%
Frist nicht eingehalten
0
Frei
21
Entwickler 21
Bewertung
(39)
Projekte
44
25%
Schlichtung
13
8% / 69%
Frist nicht eingehalten
1
2%
Überlastet
22
Entwickler 22
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
Ähnliche Aufträge
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

Projektdetails

Budget
50 - 100 USD
Ausführungsfristen
bis 2 Tag(e)

Kunde

(1)
Veröffentlichte Aufträge3
Anzahl der Schlichtungen0