• Login
  • Register
    • Unanswered topics
    • Active topics
    • Forex Calendar
  1. Home
  2. Board index
  3. Coding Help

Array Out Of Range Error

Post Reply Attachments 4
  1. Home
  2. Board index
  3. Coding Help
4 posts
Display posts from previous
Sort by
  • Print view
ffsss
ffsss
Senior Member
Posts:
609
Joined:
June 2021
Location:
Spain
Platform:
MT4
Indicator:
Supertrend
Been thanked:
206 times

Array Out Of Range Error

1 by ffsss
Hi, sorry if this is not the place for this but i would like to ask some help.

I am trying to code this indicator into my ea but i am getting a "array out of range" error. I wonder if someone with more experience than me could help. Thanks!
Array out of range.PNG
fq_head_fake.ex4 Downloaded 292 times 10.37 KiB
fq_head_fake.mq4 Downloaded 376 times 4.48 KiB
  • Quote
  • Sun Jul 04, 2021 9:01 pm


User avatar
mrtools
Head Coder & Moderator
Posts:
14190
Joined:
February 2017
Location:
Earth
Platform:
MT4 and MT5
Indicator:
All
Been thanked:
35879 times

Re: Array Out Of Range Error

2 by mrtools
ffsss wrote: Sun Jul 04, 2021 9:01 pm Hi, sorry if this is not the place for this but i would like to ask some help.

I am trying to code this indicator into my ea but i am getting a "array out of range" error. I wonder if someone with more experience than me could help. Thanks!
Try now.
fq_head_fake.mq4 Downloaded 430 times 9.05 KiB
These users thanked the author mrtools for the post:
ffsss
  • Quote
  • Mon Jul 05, 2021 4:11 am
ffsss
ffsss
Senior Member
Posts:
609
Joined:
June 2021
Location:
Spain
Platform:
MT4
Indicator:
Supertrend
Been thanked:
206 times

Re: Array Out Of Range Error

3 by ffsss
mrtools wrote: Mon Jul 05, 2021 4:11 am Try now.
Thank you very much! It works perfectly now.
  • Quote
  • Mon Jul 05, 2021 7:01 am
biztet
biztet
Inactive Member
Posts:
12
Joined:
September 2019
Location:
Malaysia
Platform:
MT4
Indicator:
Trend
Been thanked:

Re: Array Out Of Range Error

4 by biztet
Hi. I'm not a coder. I use to make ea using generator. I'd like to understand why this error as in topic happens? Coz i saw this error few times. Where can it happens? So i can avoid making mistake.
  • Quote
  • Tue Nov 01, 2022 11:13 am


4 posts
Post Reply Attachments 4

Return to “Coding Help”

User avatar
Re: MT4 Indicators with alerts/signals
Maybe something like this?
mrtools, Mon Nov 03, 2025 2:03 am
User avatar
Re: Welcome to Stein Investments – Your Edge in Fo
🎃 Halloween Sale Extended – Because We Get It 🎃 W
SteinInvestments, Mon Nov 03, 2025 1:55 am
User avatar
Re: XU v48 RSIOMA indicator on Tradingview and For
Jedidiah! Have a good journey! I hope you find re
kudrpenk, Mon Nov 03, 2025 1:32 am
User avatar
Re: XU v48 RSIOMA indicator on Tradingview and For
Wishing you good luck with your move, when are y
Jimmy, Mon Nov 03, 2025 1:07 am

  • Home
  • Who are we?
  • Media Kit
  • All times are UTC+11:00
  • It is currently Mon Nov 03, 2025 4:48 am
  • Forex Calendar
Powered by phpBB® & Gramziu - Web Ops By SiteSplat, Forex Station ©2016 - 2025Your data is secure with us

Login




Register