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
評価
(111)
プロジェクト
184
25%
仲裁
25
16% / 76%
期限切れ
16
9%
暇
3
開発者 3
評価
(217)
プロジェクト
369
33%
仲裁
34
41% / 29%
期限切れ
108
29%
暇
パブリッシュした人: 1 code
4
開発者 4
評価
(268)
プロジェクト
603
34%
仲裁
65
22% / 57%
期限切れ
146
24%
仕事中
パブリッシュした人: 1 article, 22 codes
5
開発者 5
評価
(5)
プロジェクト
5
0%
仲裁
5
0% / 40%
期限切れ
0
暇
6
開発者 6
評価
(33)
プロジェクト
35
20%
仲裁
5
40% / 40%
期限切れ
0
暇
パブリッシュした人: 1 code
7
開発者 7
評価
(6)
プロジェクト
6
17%
仲裁
0
期限切れ
0
仕事中
8
開発者 8
評価
(16)
プロジェクト
35
23%
仲裁
4
0% / 50%
期限切れ
2
6%
仕事中
9
開発者 9
評価
(852)
プロジェクト
1469
72%
仲裁
122
29% / 48%
期限切れ
360
25%
仕事中
パブリッシュした人: 3 articles
10
開発者 10
評価
(648)
プロジェクト
876
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
評価
(515)
プロジェクト
554
53%
仲裁
13
69% / 15%
期限切れ
3
1%
暇
15
開発者 15
評価
(279)
プロジェクト
341
37%
仲裁
6
50% / 17%
期限切れ
7
2%
暇
パブリッシュした人: 5 codes
16
開発者 16
評価
(2678)
プロジェクト
3422
68%
仲裁
78
47% / 14%
期限切れ
343
10%
仕事中
パブリッシュした人: 1 code
17
開発者 17
評価
(634)
プロジェクト
741
34%
仲裁
49
53% / 39%
期限切れ
14
2%
仕事中
18
開発者 18
評価
(271)
プロジェクト
553
50%
仲裁
57
40% / 37%
期限切れ
227
41%
仕事中
19
開発者 19
評価
(9)
プロジェクト
11
18%
仲裁
4
0% / 100%
期限切れ
4
36%
暇
20
開発者 20
評価
(7)
プロジェクト
6
0%
仲裁
4
25% / 75%
期限切れ
2
33%
暇
21
開発者 21
評価
(574)
プロジェクト
945
47%
仲裁
309
58% / 27%
期限切れ
125
13%
暇
22
開発者 22
評価
(45)
プロジェクト
91
13%
仲裁
34
26% / 59%
期限切れ
37
41%
暇
類似した注文
I am looking for a highly skilled trading strategist and MQL5 developer with genuine experience in researching, designing, testing, and implementing systematic trading strategies. My primary interest is XAUUSD (Gold), although proven experience with other financial markets is also welcome. I am not looking for someone who simply converts trading rules into code. I want to identify a professional who understands
We’re looking for an investment partner to help fund AegisGoldAIPro , an algorithmic trading platform being developed for MetaTrader 5, initially focused on gold. We’re building a modular system that combines market-structure analysis with planned AI-assisted decision support, risk controls, and automated execution. What we are building is not just a basic trading robots that depend on only one indicator or strategy
Looking for a Complete Forex & Gold Signal System — Telegram Automation + Performance Tracking I’m looking for a complete automated trading signal solution for Forex pairs, including EUR/USD, GBP/USD and others, as well as gold (XAU/USD). Requirements: • An average of 2–3 quality signals per day across the selected instruments. Quality matters more than generating signals just to meet a quota. • A high win rate
I need a robot that will grow small accounts to bigger amounts like this one in this link, https://youtu.be/d38pMbJihew?si=3NeIOVyrlwDr4X_o. Please click the link and watch how this EA grow small accounts. Then create a robot like that. I will test it on demo first then if it does what i want, i will take it. Please it must be simply to use. It must set targets, for example, once it reaches $500 profit, it must
Here is a professional, detailed requirements specification draft for your MQL5 freelance order based on your prompt: ​ Strategy Objective: Develop an automated Expert Advisor (EA) featuring a 1:3 Risk-to-Reward ratio optimized for a small starting budget. ​ Core Trading Logic: ​Execute automatic Buy and Sell trades using high-probability entry signals. ​Target a strict 90% theoretical win-rate structure through
i want to fix my gold martingale bot MT5. RSI 14 ENTRY 30 BUY 70 SELL Lot 0.02 0.04 0.07 TP 150 for all SL 90 30 30 once total daily profit is 200$ stop trading stop trading once 2 consecutives total losses stop trading if spread exceeded 30 and between hour 15 & 17 PM Move SL to breakeven point once the profit exceeded 50 from from breakeven thanks
MarketMind Breakout Pro XAUUSD H1 — Donchian Breakout EA Project type: Personal EA development and backtesting Platform: MetaTrader 5 Instrument: XAUUSD Timeframe: H1 Strategy: Donchian Channel breakout with EMA 200 Project overview This project evaluates a Donchian breakout trading strategy for XAUUSD on the H1 timeframe. The system uses channel-based breakout conditions and an EMA 200 trend filter. Historical
The purpose of this order is ONLY to test and implement my H1 POI (Point of Interest) identification logic correctly. I am not requesting the complete EA at this stage. I will provide the exact rules for identifying the H1 POI after selecting the developer. The developer must convert those rules into clear, deterministic MQL5 logic. Requirements: Analyze H1 candles according to the rules I provide. Identify and mark
Title: Fully Automatic MT5 Trading Bot (Expert Advisor) with Risk Management I want a fully automated trading robot (Expert Advisor) for MetaTrader 5, written in MQL5. The bot must automatically analyse market data, identify trading opportunities, execute BUY and SELL orders, manage open positions, and close trades according to predefined rules without requiring manual confirmation for each trade. Requirements
Hello, I’m looking for an experienced developer to research, build, test, and install a fully automated MetaTrader 5 trading bot for gold, XAUUSD. My total development and installation budget is $300, including all agreed work and fees. My goal is to pass a $100,000 FTMO US Two-Step Standard evaluation and sustainably maintain the funded account. I need a day-trading strategy that can buy in bullish markets and sell

プロジェクト情報

予算
50 - 200 USD