Fix MACD Indicator error.

MQL5 Indicators Experts

Specification

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.

Responded

1
Developer 1
Rating
(267)
Projects
335
29%
Arbitration
36
28% / 64%
Overdue
10
3%
Working
2
Developer 2
Rating
(434)
Projects
639
53%
Arbitration
34
59% / 21%
Overdue
6
1%
Working
3
Developer 3
Rating
(160)
Projects
205
60%
Arbitration
10
80% / 0%
Overdue
0
Working
Published: 1 code
4
Developer 4
Rating
(106)
Projects
129
25%
Arbitration
23
30% / 52%
Overdue
8
6%
Free
5
Developer 5
Rating
(108)
Projects
179
25%
Arbitration
24
17% / 75%
Overdue
16
9%
Free
6
Developer 6
Rating
(28)
Projects
34
35%
Arbitration
0
Overdue
2
6%
Free
7
Developer 7
Rating
(58)
Projects
72
60%
Arbitration
4
75% / 25%
Overdue
1
1%
Loaded
8
Developer 8
Rating
(614)
Projects
691
42%
Arbitration
2
100% / 0%
Overdue
1
0%
Free
Published: 9 codes
9
Developer 9
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
10
Developer 10
Rating
(25)
Projects
31
13%
Arbitration
13
0% / 77%
Overdue
9
29%
Free
11
Developer 11
Rating
(21)
Projects
27
7%
Arbitration
9
33% / 33%
Overdue
1
4%
Working
12
Developer 12
Rating
(33)
Projects
36
33%
Arbitration
5
0% / 80%
Overdue
0
Working
Published: 2 codes
13
Developer 13
Rating
(2672)
Projects
3408
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
14
Developer 14
Rating
(549)
Projects
836
61%
Arbitration
33
27% / 45%
Overdue
24
3%
Working
Published: 1 code
15
Developer 15
Rating
(5)
Projects
7
29%
Arbitration
1
100% / 0%
Overdue
2
29%
Working
16
Developer 16
Rating
(318)
Projects
565
35%
Arbitration
81
31% / 44%
Overdue
204
36%
Free
17
Developer 17
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
18
Developer 18
Rating
(202)
Projects
263
22%
Arbitration
23
52% / 17%
Overdue
0
Loaded
19
Developer 19
Rating
(8)
Projects
14
21%
Arbitration
2
0% / 50%
Overdue
3
21%
Working
20
Developer 20
Rating
(5)
Projects
5
0%
Arbitration
5
0% / 40%
Overdue
0
Free
21
Developer 21
Rating
(2)
Projects
2
50%
Arbitration
0
Overdue
0
Working
Published: 1 code
22
Developer 22
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Working
23
Developer 23
Rating
(4)
Projects
4
25%
Arbitration
0
Overdue
0
Free
24
Developer 24
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
25
Developer 25
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
26
Developer 26
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
27
Developer 27
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
28
Developer 28
Rating
(31)
Projects
33
42%
Arbitration
0
Overdue
3
9%
Free
29
Developer 29
Rating
(8)
Projects
8
38%
Arbitration
0
Overdue
0
Working
30
Developer 30
Rating
(14)
Projects
15
40%
Arbitration
2
50% / 50%
Overdue
1
7%
Free
Similar orders
Please create an simple EA in mql5 based on RSI indicator with e-mail, sounds and push notification alerts, of course can't be any bugs, errors, but I think it's obvious. I am searching a programmer for longer co-operation. Thank you for your attention, Have a nice day
Hi, I am looking for an already made profitable EA. It can be an indicator but then it must be possible to make an EA from the indicator. Will need to test before payment (this can be in demo or limited time test). I will pay up to $6000. Do not apply if you want an upfront payment. I need to test for a few times first. Mostly only pips matters. I look much the risk safety, money management, risk reward, and overall
Привіт. Шукаю когось, хто б застосував мій код як бота . Я торгую індексом Aus_200 SFE (не XJO). Бот базується на MACD входу/виходу, RSI, стохастиці та vwap. Як тільки роботу приймуть, мені потрібно внести кілька коректив; однак, нічого суттєвого. Дякую
SMC Martingale Pro is an advanced MetaTrader 5 Expert Advisor designed for high-volatility markets like XAU/USD. It combines institutional Smart Money Concepts with a dynamic risk recovery system. Key Features Dual FVG Engine: Automatically identifies and renders both bullish and bearish Fair Value Gaps in real time. Multi-Timeframe Flexibility: Operates independently of the active chart timeframe to target
I am looking for an experienced Sierra Chart ACSIL (C++) developer to create a custom indicator that measures the average Prior Day High-Low range over a configurable number of trading days (default: 7 days) using a 23-hour trading session
I have a technical specification ready for a custom alert indicator in NinjaTrader 8 (NinjaScript / C#). Important clarification: it is NOT an automatic trading bot, it is solely a visual indicator (arrows/lines on the chart) and sound alerts (notifications) based on EMA crossovers and range breakouts (ORB 15m) on lower timeframes for futures (MES). I already have the exact rules written out unambiguously
Custom MT5 EA for buy stop and sell stop breakout strategy.’ ‘Requirements, develop a custom Expert Advisor for MetaTrader 5 that places buy-stop and sell-stop pending orders based on defined breakout rules.’ ‘All important values adjustable via inputs.’ ‘Includes stop loss, take profit, trailing stop, and configurable risk management.’ ‘One trade at a time, works on demo before live.’ Provide source code and
I have an automated trading strategy in NinjaTrader 8 (C# / NinjaScript) that is currently under development. Before diving into technical details, I’d like to ask a quick question from someone who's interested. Do you work on existing / in-progress codebases to debug, refactor, or add new features, or do you strictly build projects from scratch? NOTE : Only professional Developer should apply for this project
السلام عليكم ورحمة الله وبركاته، ​أبحث عن مبرمج MQL5 خبير ومتمكن جداً لتطوير روبوت تداول (Expert Advisor) محترف لمنصة MetaTrader 5 يعمل باستراتيجية هيدج محددة بصفقة واحدة فقط في كل اتجاه (1 Buy & 1 Sell Max) مع إدارة مخاطر صارمة. ​المواصفات والاستراتيجية المطلوبة: ​1. آلية الهيدج المحدود (Single Position Hedging Limit): ​الحد الأقصى للصفقات: يُسمح للروبوت بفتح صفقة شراء واحدة (1 Buy) وصفقة بيع واحدة (1 Sell) فقط كحد
Looking for A verifiable, disciplined XAUUSD analyst with controlled drawdown, consistent stop-loss use, clear communication and the capacity to service a live community. To send daily London and New York signals exclusively in my channel on Telegram

Project information

Budget
30+ USD

Customer

Placed orders1
Arbitrage count0