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

指定

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! 

反馈

1
开发者 1
等级
(25)
项目
33
24%
仲裁
3
33% / 33%
逾期
4
12%
空闲
2
开发者 2
等级
(102)
项目
154
20%
仲裁
23
9% / 74%
逾期
14
9%
繁忙
3
开发者 3
等级
(210)
项目
359
32%
仲裁
34
41% / 29%
逾期
107
30%
工作中
发布者: 1 代码
4
开发者 4
等级
(264)
项目
593
35%
仲裁
64
20% / 58%
逾期
147
25%
空闲
发布者: 1 文章, 22 代码
5
开发者 5
等级
(5)
项目
5
0%
仲裁
5
0% / 40%
逾期
0
空闲
6
开发者 6
等级
(33)
项目
35
20%
仲裁
5
40% / 40%
逾期
0
空闲
发布者: 1 代码
7
开发者 7
等级
(6)
项目
6
17%
仲裁
1
0% / 0%
逾期
0
工作中
8
开发者 8
等级
(15)
项目
34
24%
仲裁
4
0% / 50%
逾期
2
6%
工作中
9
开发者 9
等级
(844)
项目
1445
72%
仲裁
119
29% / 47%
逾期
355
25%
工作中
发布者: 3 文章
10
开发者 10
等级
(625)
项目
842
48%
仲裁
27
37% / 15%
逾期
63
7%
空闲
11
开发者 11
等级
(52)
项目
89
25%
仲裁
8
75% / 13%
逾期
44
49%
空闲
12
开发者 12
等级
项目
0
0%
仲裁
0
逾期
0
空闲
13
开发者 13
等级
(14)
项目
14
14%
仲裁
8
0% / 88%
逾期
2
14%
已载入
14
开发者 14
等级
(511)
项目
548
53%
仲裁
13
69% / 15%
逾期
3
1%
空闲
15
开发者 15
等级
(278)
项目
340
37%
仲裁
6
50% / 17%
逾期
7
2%
空闲
发布者: 5 代码
16
开发者 16
等级
(2623)
项目
3329
67%
仲裁
77
48% / 14%
逾期
342
10%
空闲
发布者: 1 代码
17
开发者 17
等级
(539)
项目
618
33%
仲裁
35
37% / 49%
逾期
10
2%
繁忙
18
开发者 18
等级
(270)
项目
552
49%
仲裁
58
40% / 36%
逾期
228
41%
工作中
19
开发者 19
等级
(9)
项目
11
18%
仲裁
4
0% / 100%
逾期
4
36%
空闲
20
开发者 20
等级
(5)
项目
4
0%
仲裁
2
50% / 50%
逾期
2
50%
空闲
21
开发者 21
等级
(574)
项目
945
47%
仲裁
309
58% / 27%
逾期
125
13%
空闲
22
开发者 22
等级
(45)
项目
91
13%
仲裁
34
26% / 59%
逾期
37
41%
空闲
相似订单
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
I’m looking for a highly profitable, robust EA for MT5. Targets 3% profit/month with max 1% drawdown Trades 1 signal pair 1+ year stable backtesting "Retard proof" execution Price isn't an issue. Must provide demo for testing + proof of performance Requirements: Demo version for evaluation Source code (.mq5) Serious developers only Only serious developer

项目信息

预算
50 - 200 USD