MQL5 EA Fails to Retrieve Data from iCustom Indicator (Buffers Return Only Zeros)

Spezifikation

I am looking for an expert MQL5 programmer with experience in the following issue:

Problem Description:

I have an MQL5 Expert Advisor (EA) that uses iCustom() to call a custom Order Block indicator. The indicator works correctly when applied manually to a chart, storing and displaying valid buffer values. However, when the EA runs and calls CopyBuffer() , it only retrieves zeros instead of the expected values.

Key Observations:

✅ iCustom() successfully creates the indicator instance (confirmed by logs).
✅ The indicator prints correct buffer values when running manually.
❌ The indicator’s OnCalculate() never runs inside the EA ( MQL_PROGRAM_TYPE is always PROGRAM_INDICATOR ).
❌ The EA's instance of the indicator does not seem to update or execute properly.

What Could Be Wrong?

  • The EA might not be correctly launching the indicator instance.
  • CopyBuffer() might be failing silently.

What I Need Help With:

  • How to ensure the indicator actually runs inside the EA ( PROGRAM_EXPERT ).
  • How to make CopyBuffer() retrieve correct values when the EA calls iCustom() .
  • Debugging why the indicator buffers return only zeros when used via EA.

Would appreciate any insights or debugging suggestions! 

Bewerbungen

1
Entwickler 1
Bewertung
(25)
Projekte
33
24%
Schlichtung
3
33% / 33%
Frist nicht eingehalten
4
12%
Frei
2
Entwickler 2
Bewertung
(104)
Projekte
167
25%
Schlichtung
23
9% / 78%
Frist nicht eingehalten
16
10%
Arbeitet
3
Entwickler 3
Bewertung
(213)
Projekte
364
32%
Schlichtung
34
41% / 29%
Frist nicht eingehalten
108
30%
Frei
Veröffentlicht: 1 Beispiel
4
Entwickler 4
Bewertung
(265)
Projekte
596
35%
Schlichtung
64
20% / 58%
Frist nicht eingehalten
147
25%
Arbeitet
Veröffentlicht: 1 Artikel, 22 Beispiele
5
Entwickler 5
Bewertung
(5)
Projekte
5
0%
Schlichtung
5
0% / 40%
Frist nicht eingehalten
0
Frei
6
Entwickler 6
Bewertung
(33)
Projekte
35
20%
Schlichtung
5
40% / 40%
Frist nicht eingehalten
0
Frei
Veröffentlicht: 1 Beispiel
7
Entwickler 7
Bewertung
(6)
Projekte
6
17%
Schlichtung
1
0% / 0%
Frist nicht eingehalten
0
Arbeitet
8
Entwickler 8
Bewertung
(16)
Projekte
35
23%
Schlichtung
4
0% / 50%
Frist nicht eingehalten
2
6%
Arbeitet
9
Entwickler 9
Bewertung
(847)
Projekte
1449
72%
Schlichtung
120
28% / 47%
Frist nicht eingehalten
355
24%
Arbeitet
Veröffentlicht: 3 Artikel
10
Entwickler 10
Bewertung
(629)
Projekte
849
47%
Schlichtung
29
38% / 14%
Frist nicht eingehalten
63
7%
Arbeitet
11
Entwickler 11
Bewertung
(52)
Projekte
89
25%
Schlichtung
8
75% / 13%
Frist nicht eingehalten
44
49%
Beschäftigt
12
Entwickler 12
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
13
Entwickler 13
Bewertung
(14)
Projekte
14
14%
Schlichtung
8
0% / 88%
Frist nicht eingehalten
2
14%
Beschäftigt
14
Entwickler 14
Bewertung
(511)
Projekte
549
53%
Schlichtung
13
69% / 15%
Frist nicht eingehalten
3
1%
Frei
15
Entwickler 15
Bewertung
(278)
Projekte
340
37%
Schlichtung
6
50% / 17%
Frist nicht eingehalten
7
2%
Frei
Veröffentlicht: 5 Beispiele
16
Entwickler 16
Bewertung
(2643)
Projekte
3359
68%
Schlichtung
77
48% / 14%
Frist nicht eingehalten
342
10%
Frei
Veröffentlicht: 1 Beispiel
17
Entwickler 17
Bewertung
(549)
Projekte
635
33%
Schlichtung
41
39% / 46%
Frist nicht eingehalten
11
2%
Überlastet
18
Entwickler 18
Bewertung
(270)
Projekte
552
49%
Schlichtung
57
40% / 37%
Frist nicht eingehalten
227
41%
Arbeitet
19
Entwickler 19
Bewertung
(9)
Projekte
11
18%
Schlichtung
4
0% / 100%
Frist nicht eingehalten
4
36%
Frei
20
Entwickler 20
Bewertung
(6)
Projekte
5
0%
Schlichtung
2
50% / 50%
Frist nicht eingehalten
2
40%
Frei
21
Entwickler 21
Bewertung
(574)
Projekte
945
47%
Schlichtung
309
58% / 27%
Frist nicht eingehalten
125
13%
Frei
22
Entwickler 22
Bewertung
(45)
Projekte
91
13%
Schlichtung
34
26% / 59%
Frist nicht eingehalten
37
41%
Frei
Ähnliche Aufträge
Hello, Please read the full specification before applying. This project is NOT about building an EA from scratch. I already have a fully working MT5 Expert Advisor. The EA already includes a dashboard, risk management, and some protection systems, but it needs a few more features . So I need an experienced MQL5 developer to modify my existing MT5 EA by replacing the current entry logic with a new breakout strategy
can you help me with editing the existing ATR Trailing Stop Indicator to include a logic to include additional script, where my ninZaRenko bars when it closes above OR below the dynamic stop line, I will be out of trade. Please remember, in this Indicator, now when the price touches the stop line, I am stopped out .. . I want to edit the script, in lieu of the price touch, I like to update this logic to when the bar
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
APARTE DE PASAR EL CÓDIGO A MT5 QUIERO QUE CONTENGA TODOS LOS DATOS NECESARIOS PARA QUE ESTE NUEVO CÓDIGO SE PUEDA USAR EN LA FÁBRICACIÓN DE UN ROBOT, NO SE MUCHO DE ESTO PERO INVESTIGUE QUE DEBE LEER BUFFERS Y OTRAS COSAS
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
أنا أبحث عن مبرمج محترف لإنشاء روبوت تداول (Expert Advisor) يعمل على منصة MetaTrader 4 أو MetaTrader 5. مواصفات الروبوت: يعمل على زوج XAUUSD (الذهب) يفتح صفقة شراء أو بيع حسب الإشارة يعتمد على مؤشرين: Moving Average RSI عندما يتقاطع الموفينغ أفريج مع الاتجاه ويؤكد مؤشر RSI يتم فتح الصفقة. إدارة المخاطر: تحديد Stop Loss تحديد Take Profit عدم فتح أكثر من صفقة في نفس الوقت إمكانية تغيير الإعدادات بسهولة. مطلوب: كود نظيف
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
Pinescript 100+ USD
I’m looking for a Pine Script developer who can reverse engineer the “Swing Only” logic of the Polytrends indicator on TradingView. The goal is to recreate how the swing trends are detected and plotted so it can be used as a custom indicator. If you have experience with TradingView Pine Script and reverse-engineering indicator logic , please reach out

Projektdetails

Budget
50 - 200 USD