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

Specifiche

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! 

Con risposta

1
Sviluppatore 1
Valutazioni
(25)
Progetti
33
24%
Arbitraggio
3
33% / 33%
In ritardo
4
12%
Gratuito
2
Sviluppatore 2
Valutazioni
(102)
Progetti
154
20%
Arbitraggio
23
9% / 74%
In ritardo
14
9%
Occupato
3
Sviluppatore 3
Valutazioni
(210)
Progetti
359
32%
Arbitraggio
34
41% / 29%
In ritardo
107
30%
In elaborazione
Pubblicati: 1 codice
4
Sviluppatore 4
Valutazioni
(264)
Progetti
593
35%
Arbitraggio
64
20% / 58%
In ritardo
147
25%
Gratuito
Pubblicati: 1 articolo, 22 codici
5
Sviluppatore 5
Valutazioni
(5)
Progetti
5
0%
Arbitraggio
5
0% / 40%
In ritardo
0
Gratuito
6
Sviluppatore 6
Valutazioni
(33)
Progetti
35
20%
Arbitraggio
5
40% / 40%
In ritardo
0
Gratuito
Pubblicati: 1 codice
7
Sviluppatore 7
Valutazioni
(6)
Progetti
6
17%
Arbitraggio
1
0% / 0%
In ritardo
0
In elaborazione
8
Sviluppatore 8
Valutazioni
(15)
Progetti
34
24%
Arbitraggio
4
0% / 50%
In ritardo
2
6%
In elaborazione
9
Sviluppatore 9
Valutazioni
(844)
Progetti
1445
72%
Arbitraggio
119
29% / 47%
In ritardo
355
25%
In elaborazione
Pubblicati: 3 articoli
10
Sviluppatore 10
Valutazioni
(625)
Progetti
842
48%
Arbitraggio
27
37% / 15%
In ritardo
63
7%
Gratuito
11
Sviluppatore 11
Valutazioni
(52)
Progetti
89
25%
Arbitraggio
8
75% / 13%
In ritardo
44
49%
Gratuito
12
Sviluppatore 12
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
13
Sviluppatore 13
Valutazioni
(14)
Progetti
14
14%
Arbitraggio
8
0% / 88%
In ritardo
2
14%
Caricato
14
Sviluppatore 14
Valutazioni
(511)
Progetti
548
53%
Arbitraggio
13
69% / 15%
In ritardo
3
1%
Gratuito
15
Sviluppatore 15
Valutazioni
(278)
Progetti
340
37%
Arbitraggio
6
50% / 17%
In ritardo
7
2%
Gratuito
Pubblicati: 5 codici
16
Sviluppatore 16
Valutazioni
(2623)
Progetti
3329
67%
Arbitraggio
77
48% / 14%
In ritardo
342
10%
In elaborazione
Pubblicati: 1 codice
17
Sviluppatore 17
Valutazioni
(539)
Progetti
618
33%
Arbitraggio
35
37% / 49%
In ritardo
10
2%
Occupato
18
Sviluppatore 18
Valutazioni
(270)
Progetti
552
49%
Arbitraggio
58
40% / 36%
In ritardo
228
41%
In elaborazione
19
Sviluppatore 19
Valutazioni
(9)
Progetti
11
18%
Arbitraggio
4
0% / 100%
In ritardo
4
36%
Gratuito
20
Sviluppatore 20
Valutazioni
(5)
Progetti
4
0%
Arbitraggio
2
50% / 50%
In ritardo
2
50%
Gratuito
21
Sviluppatore 21
Valutazioni
(574)
Progetti
945
47%
Arbitraggio
309
58% / 27%
In ritardo
125
13%
Gratuito
22
Sviluppatore 22
Valutazioni
(45)
Progetti
91
13%
Arbitraggio
34
26% / 59%
In ritardo
37
41%
Gratuito
Ordini simili
💰 BUDGET: $200-$2,800 (Negotiable) Institutional EA with 20+ Systems | Sharpe 4.2+ | Quant Firm Standards DESCRIPTION I need an experienced MQL5 developer to build a professional institutional-grade EA with 20+ integrated trading systems for MetaTrader 5. CORE REQUIREMENTS: Architecture: • 20+ independent trading systems (trend, mean reversion, volatility, breakout) • ON/OFF toggle for each system (user selectable)
Hi , I am finding scalping Ea for Mt5 which can work on all pairs and have back tested results at least of 1 year and is currently running in Mt5 so i can login and see how it is performing who ever have message me
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 2021‑2025 report, equity curve, trade list, strategy description, and 1‑month demo access. i need a concrete prove of experience functioning existing EA working perfectly and as contained on my description, then we can't strike a deal. Thank you
Buen día. Busco un desarrollador para agregar sistema de Martingala a un Bot de MT4, sin poseer el código fuente, solo el archivo EX4. Mas detalles en mensaje privado, agradezco la atención prestada
Olá, preciso de um programador para montar um indicador com base na sobrevenda do estocastico, volume macd, para uma estrategia de reversão e falso rompimento com regioes de OB validos minimas e maximas de H1, H4, D1 e canais para confluencias, quero que seja didatico visualmente e com cores, sons de alertas e algum sinal de call ou put como setas indicando reversões e falsos rompimentos e continuidade
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
want a highly profitable EA; price is not an issue, as long as you can prove it and send me a demo for me to test. You need to prove yourself first. The EA needs a year of stable backtesting
I’m looking for an experienced MQL5 developer to build TWO MT5 custom indicators that detect multi-condition M30 trade setups and send Telegram alerts before trade execution . This project requires strict close-based logic , multi-indicator buffer processing , and non-repainting behavior . HIGH-LEVEL REQUIREMENTS Indicators must evaluate signals from M30 only All conditions are checked only after candle close Logic
Ea make based on smc 40 - 50 USD
I want ea based on SMC concept,, i have good knowledge in smc,, if you have good knowledge then only message me we will discuss,, bos,, imbalance then take trade ,, with fixed sl and rr
1. The idea of the trading system is as follows : market entries are performed when MACD's main and signal lines intersect in the current trend direction . 2. Trend is determined based on the Exponential Moving Average with the specified period (InpMATrendPeriod). If the current EMA value is greater than the previous one, the trend is seen as growing (ema_current > ema_previous). Alternatively, if current EMA is

Informazioni sul progetto

Budget
50 - 200 USD