• 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 Trader
Posts:
610
Joined:
June 2021
Location:
Spain
Platform:
MT4
Indicator:
Supertrend
Been thanked:
212 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 343 times 10.37 KiB
fq_head_fake.mq4 Downloaded 435 times 4.48 KiB
  • Quote
  • Sun Jul 04, 2021 9:01 pm
mrtools
mrtools
Moderator
Posts:
14347
Joined:
February 2017
Location:
Not heribus!
Platform:
MT4 and MT5
Indicator:
All
Been thanked:
36678 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 493 times 9.05 KiB
These users thanked the author mrtools for the post:
ffsss
Shalom Shalom! :hug:
  • Quote
  • Mon Jul 05, 2021 4:11 am
ffsss
ffsss
Senior Trader
Posts:
610
Joined:
June 2021
Location:
Spain
Platform:
MT4
Indicator:
Supertrend
Been thanked:
212 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
New 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: Moving Average indicators for MT4
Hi kvak, Where can we find the indicator in the s
Steam1, Tue Sep 22, 2026 5:15 pm
User avatar
Re: Moving Average indicators for MT4
Hi kvak, Where can we find the indicator in the s
Steam1, Tue Sep 22, 2026 5:15 pm
Pelle
Re: Something interesting from Chatgpt/AI please p
I updated the original post. Added files with th
Pelle, Tue Sep 22, 2026 4:30 pm
User avatar
Re: WW3 Countdown
;) Screenshot_835.png General Staff of the Armed
vvFish, Tue Sep 22, 2026 3:39 pm

  • Home
  • Who are we?
  • Media Kit
  • All times are UTC+10:00
  • It is currently Tue Sep 22, 2026 5:56 pm
Powered by phpBB® & Gramziu - Web Ops By SiteSplat, Forex Station ©2016 - 2026Your data is secure with us

Login




Register