Fix MACD Indicator error.

MQL5 Indicadores Experts

Termos de Referência

I created an MACD Indicator in MT4 using an AI. The problem is that I get an error message that says "array out of range" for the Histogram buffer at Line 127 Column 11 of the code. 

I need a programmer to fix this error. I am attaching the indicator.

Arquivos anexados:

Respondido

1
Desenvolvedor 1
Classificação
(267)
Projetos
335
29%
Arbitragem
36
28% / 64%
Expirado
10
3%
Trabalhando
2
Desenvolvedor 2
Classificação
(434)
Projetos
639
53%
Arbitragem
34
59% / 21%
Expirado
6
1%
Trabalhando
3
Desenvolvedor 3
Classificação
(160)
Projetos
205
60%
Arbitragem
10
80% / 0%
Expirado
0
Trabalhando
Publicou: 1 código
4
Desenvolvedor 4
Classificação
(106)
Projetos
129
25%
Arbitragem
23
30% / 52%
Expirado
8
6%
Livre
5
Desenvolvedor 5
Classificação
(108)
Projetos
179
25%
Arbitragem
24
17% / 75%
Expirado
16
9%
Livre
6
Desenvolvedor 6
Classificação
(28)
Projetos
34
35%
Arbitragem
0
Expirado
2
6%
Livre
7
Desenvolvedor 7
Classificação
(58)
Projetos
72
60%
Arbitragem
4
75% / 25%
Expirado
1
1%
Carregado
8
Desenvolvedor 8
Classificação
(614)
Projetos
691
42%
Arbitragem
2
100% / 0%
Expirado
1
0%
Livre
Publicou: 9 códigos
9
Desenvolvedor 9
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
10
Desenvolvedor 10
Classificação
(25)
Projetos
31
13%
Arbitragem
13
0% / 77%
Expirado
9
29%
Livre
11
Desenvolvedor 11
Classificação
(21)
Projetos
27
7%
Arbitragem
9
33% / 33%
Expirado
1
4%
Trabalhando
12
Desenvolvedor 12
Classificação
(33)
Projetos
36
33%
Arbitragem
5
0% / 80%
Expirado
0
Trabalhando
Publicou: 2 códigos
13
Desenvolvedor 13
Classificação
(2672)
Projetos
3408
68%
Arbitragem
77
48% / 14%
Expirado
342
10%
Livre
Publicou: 1 código
14
Desenvolvedor 14
Classificação
(549)
Projetos
836
61%
Arbitragem
33
27% / 45%
Expirado
24
3%
Trabalhando
Publicou: 1 código
15
Desenvolvedor 15
Classificação
(5)
Projetos
7
29%
Arbitragem
1
100% / 0%
Expirado
2
29%
Trabalhando
16
Desenvolvedor 16
Classificação
(318)
Projetos
565
35%
Arbitragem
81
31% / 44%
Expirado
204
36%
Livre
17
Desenvolvedor 17
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
18
Desenvolvedor 18
Classificação
(202)
Projetos
263
22%
Arbitragem
23
52% / 17%
Expirado
0
Carregado
19
Desenvolvedor 19
Classificação
(8)
Projetos
14
21%
Arbitragem
2
0% / 50%
Expirado
3
21%
Trabalhando
20
Desenvolvedor 20
Classificação
(5)
Projetos
5
0%
Arbitragem
5
0% / 40%
Expirado
0
Livre
21
Desenvolvedor 21
Classificação
(2)
Projetos
2
50%
Arbitragem
0
Expirado
0
Trabalhando
Publicou: 1 código
22
Desenvolvedor 22
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Trabalhando
23
Desenvolvedor 23
Classificação
(4)
Projetos
4
25%
Arbitragem
0
Expirado
0
Livre
24
Desenvolvedor 24
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
25
Desenvolvedor 25
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
26
Desenvolvedor 26
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
27
Desenvolvedor 27
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
28
Desenvolvedor 28
Classificação
(31)
Projetos
33
42%
Arbitragem
0
Expirado
3
9%
Livre
29
Desenvolvedor 29
Classificação
(8)
Projetos
8
38%
Arbitragem
0
Expirado
0
Trabalhando
30
Desenvolvedor 30
Classificação
(14)
Projetos
15
40%
Arbitragem
2
50% / 50%
Expirado
1
7%
Livre
31
Desenvolvedor 31
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Publicou: 1 código
32
Desenvolvedor 32
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
33
Desenvolvedor 33
Classificação
(9)
Projetos
11
55%
Arbitragem
0
Expirado
0
Livre
34
Desenvolvedor 34
Classificação
(14)
Projetos
18
22%
Arbitragem
1
100% / 0%
Expirado
4
22%
Trabalhando
35
Desenvolvedor 35
Classificação
(4)
Projetos
8
0%
Arbitragem
3
33% / 67%
Expirado
4
50%
Livre
36
Desenvolvedor 36
Classificação
(14)
Projetos
27
41%
Arbitragem
3
0% / 67%
Expirado
6
22%
Trabalhando
37
Desenvolvedor 37
Classificação
(8)
Projetos
13
38%
Arbitragem
0
Expirado
2
15%
Livre
38
Desenvolvedor 38
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Pedidos semelhantes
TumiiFX 30 - 20000 USD
1. Use two EMAs: 20 and 50. If EMA 20 is above EMA 50 → uptrend (look for buys) If EMA 20 is below EMA 50 → downtrend (look for sells) 2. Wait for a pullback into the area between the two EMAs. - For buys: price must touch or move between EMA 20 and EMA 50 during the last few candles. - For stils: same idea, but in a downtrend. 3. Entry signal: Buy: a bullish engulfing candle in an uptrend after the pullback
I am looking for an experienced MQL4 developer to build a professional High-Frequency Trading (HFT) / Low-Latency Expert Advisor for MetaTrader 4 (MT4) . The EA will be deployed on an IC Markets Live account and should be optimized for the fastest possible execution using a low-latency VPS located in LD4 or NY4 . The primary instruments will be US30 and XAUUSD (Gold) . The goal is to create an EA capable of
A robot 50+ USD
HIGH-FREQUENCY M5/M15 CONCURRENT ENTRY SNIPER import time class HighFrequencySniper: def __init__(self): self.target_profit = 25.00 # Targeted Delta Move self.max_execution_time = 3600 # 1 Hour Sandbox (Seconds) self.lot_allocation = "CALIBRATED_TO_RISK" def execute_hft_scan(self, current_price, m5_rsi, m15_order_block): print(f"[SCANNING] Current Kernel Metric: ${current_price:.2f
I need a trading bot, please i need this project urgently and when messaing me kindly send me samples of past works and dont forget i need the project to be done as soon as possible
A lightweight MT5 chart overlay displaying total floating P&L, average entry price, combined lot size, and current symbol exposure as a percentage of account balance, all updating in real time with color-coded profit/loss indicators, delivered with clean object-oriented source code and no DLL dependencies
QUIERO CONSEGUIR EL CODIGO FUENTE DE ESTE INDICADOR QUE ME GUSTA MUCHO TAMBIEN TIENE EL NOMBRE DE ET BANDS O ENTRY EXIT TIMING . no se los componentes pero estas son las imagenes. que mejor lo describen
I am looking to convert my existing TradingView Pine Script (v5) strategy into an MQL5 Expert Advisor (EA) for MetaTrader 5. Strategy Details: Asset: Gold (XAUUSD) Timeframe: 15-minute Strategy Logic: The strategy is based on a breakout concept. Anchor Candle: The base calculation starts from the Specified Candle Entry Window: The EA should only look for entries As Per Indicator Risk Management: The strategy
I want to find a Developer to perform this work and settle payments in this Application. I undertake not to communicate with Applicants anywhere else except this Application, including third-party messengers, personal correspondence or emails. I understand that violators will be banned from publishing Orders in the Freelance
Akram boushaba 30 - 500 USD
مرحبا كيف حالكم انا اكرم مهتم بالتداول احاول ان اصمم برنامج روبوت قادر على التداول من تلقاء نفسه من يمكنه ان يساعدني او يعلمني كيف استطيع فهل ذلك وسأكون ممتناً له وشكرا لكم
MetaTrader In-App Trade Alerts An existing MetaTrader terminal is already running on my side, but its account is kept hidden for privacy reasons. I need a specialist to wire up native in-app notifications so that every time a position is opened or later closed I see an immediate pop-up inside the platform—no emails or SMS, just the built-in alert window (and the usual MT push to mobile if that comes automatically

Informações sobre o projeto

Orçamento
30+ USD

Cliente

Pedidos postados1
Número de arbitragens0