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)
Проекты
34
26%
Арбитраж
4
50% / 25%
Просрочено
4
12%
Свободен
2
Разработчик 2
Оценка
(107)
Проекты
175
25%
Арбитраж
23
13% / 78%
Просрочено
16
9%
Свободен
3
Разработчик 3
Оценка
(217)
Проекты
369
33%
Арбитраж
34
41% / 29%
Просрочено
108
29%
Свободен
Опубликовал: 1 пример
4
Разработчик 4
Оценка
(268)
Проекты
601
34%
Арбитраж
64
20% / 58%
Просрочено
147
24%
Работает
Опубликовал: 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
Оценка
(16)
Проекты
35
23%
Арбитраж
4
0% / 50%
Просрочено
2
6%
Работает
9
Разработчик 9
Оценка
(851)
Проекты
1460
72%
Арбитраж
122
29% / 48%
Просрочено
356
24%
Свободен
Опубликовал: 3 статьи
10
Разработчик 10
Оценка
(640)
Проекты
865
48%
Арбитраж
29
38% / 17%
Просрочено
63
7%
Работает
11
Разработчик 11
Оценка
(55)
Проекты
92
24%
Арбитраж
8
75% / 13%
Просрочено
44
48%
Свободен
12
Разработчик 12
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
13
Разработчик 13
Оценка
(14)
Проекты
14
14%
Арбитраж
8
0% / 88%
Просрочено
2
14%
Загружен
14
Разработчик 14
Оценка
(512)
Проекты
551
53%
Арбитраж
13
69% / 15%
Просрочено
3
1%
Свободен
15
Разработчик 15
Оценка
(279)
Проекты
341
37%
Арбитраж
6
50% / 17%
Просрочено
7
2%
Свободен
Опубликовал: 5 примеров
16
Разработчик 16
Оценка
(2667)
Проекты
3398
68%
Арбитраж
77
48% / 14%
Просрочено
342
10%
Свободен
Опубликовал: 1 пример
17
Разработчик 17
Оценка
(586)
Проекты
678
32%
Арбитраж
42
45% / 45%
Просрочено
12
2%
Занят
18
Разработчик 18
Оценка
(271)
Проекты
553
50%
Арбитраж
57
40% / 37%
Просрочено
227
41%
Работает
19
Разработчик 19
Оценка
(9)
Проекты
11
18%
Арбитраж
4
0% / 100%
Просрочено
4
36%
Свободен
20
Разработчик 20
Оценка
(6)
Проекты
5
0%
Арбитраж
4
25% / 75%
Просрочено
2
40%
Свободен
21
Разработчик 21
Оценка
(574)
Проекты
945
47%
Арбитраж
309
58% / 27%
Просрочено
125
13%
Свободен
22
Разработчик 22
Оценка
(45)
Проекты
91
13%
Арбитраж
34
26% / 59%
Просрочено
37
41%
Свободен
Похожие заказы
I have a EA for XAUUSD which works awesome in sideways and trending market as well, capital requirement is only 2000USd and weekly profit is around 1500-2000 USD. I am using this bot from 3 months and getting continuous good result
Expert should be able to place trades across all Forex symbols (solution is advised) . xauusd live chart execution error . Deletion and Cleaning the Code (if required) . Live Chart Only
Dear All i am working on strategy in forex market specifically in xausud and i just want someone to make it automatic execution mode as per my requirements with propee risk management my broker is exness and i have an account in MT5
I am looking for an experienced MT5/MQL5 programmer to build Phase 1 of a larger Expert Advisor project. This first phase is limited to one custom signal only for the EUR/USD. If Phase 1 is completed correctly, additional signals may be added later as separate follow-up projects. The purpose of Phase 1 is to code, test, display, and log this signal accurately using completed M1 bars only. At this stage, I primarily
✅ MT4 EA Developer Checklist (For Your Ladder EA) 1️⃣ Indicator Integration EA reads signals from provided custom indicator (.ex4 or .mq4) Detects “Buy Next” / “Sell Next” signals on current candle Works with arrow-based or buffer-based signals 2️⃣ Next Candle Execution EA does not trade on the candle where the signal appears Orders placed only at first tick of the next candle Timeframes supported: M1, M5, M15
Hi to all, I need a modification of an existing grid EA with the following instructions: Add the following optional external inputs to the attached Expert Advisor: input bool TradeModeAgainstTrend ( TMAT ) = true ; input int CounterTrendLotsToStartTMAT = 0.15 ; input double CoefficientForTrendLots = 0.30 ; input double MaxTrendLot = 0.08 ; input bool OneSideTMATOnly = true ; input double CombinedClosureAmount = 10.0
Hello, i need expert developer that have been develop so many profitable AI bots that work for mt5 and ctrader autonomously if you know you can easily execute this requirement bid for it. NOTE:- YOU MUST COME WITH SAMPLE FOR THE 2 TRADING PLATFORM. While i take a look at your profile and reach out to you thanks
Gold robot 3000+ USD
I really liked this training platform. I want to start a good business with this funding amount."I like crypto trading. Does it provide a demo account that is good for learning?"
Gold robot 3000+ USD
Hello, I am looking for someone who can help me to build a MT4/MT5 forex EA, by analyzing the trading history. You are responsible to find out trading logic behind the EA and Build a new EA that accurately replicates the existing strategy. I need someone who has proven previous experience to build a new EA by reverse engineering. Thanks

Информация о проекте

Бюджет
50 - 200 USD