• 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:
207 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 301 times 10.37 KiB
fq_head_fake.mq4 Downloaded 387 times 4.48 KiB
  • Quote
  • Sun Jul 04, 2021 9:01 pm


mrtools
mrtools
Head Coder & Moderator
Posts:
14346
Joined:
February 2017
Location:
not here anymore
Platform:
MT4 and MT5
Indicator:
All
Been thanked:
36444 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 442 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:
207 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: TradingView Indicators to MT4 Indicators
Dear mrtools, kvak, Banzai, Pelle or Other Coders.
Tsar, Thu Jan 08, 2026 11:03 am
User avatar
Re: Smart Money Concept (SMC) indicators for MT4
what is password for this indicator
Dragon Master, Thu Jan 08, 2026 9:47 am
User avatar
Re: Convert MT4 indicators to MT5
Here is another one CLICK
kvak, Thu Jan 08, 2026 8:29 am
User avatar
Re: MT5 Moving Averages (MAs)
eAverages filtered with precission trend.
kvak, Thu Jan 08, 2026 8:28 am

  • Home
  • Who are we?
  • Media Kit
  • All times are UTC+11:00
  • It is currently Thu Jan 08, 2026 11:15 am
Powered by phpBB® & Gramziu - Web Ops By SiteSplat, Forex Station ©2016 - 2026Your data is secure with us

Login




Register