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


User avatar
mrtools
Head Coder & Moderator
Posts:
14258
Joined:
February 2017
Location:
Earth
Platform:
MT4 and MT5
Indicator:
All
Been thanked:
36097 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 432 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”

Sutatong
Re: Stop Loss Style Indicators
Thank you, Mrtools. It works great. Let me play
Sutatong, Tue Nov 25, 2025 5:04 pm
User avatar
Re: TMA - Triangular Moving Average indicators MT4
I believe the entry point indicated by the arro
LIKE, Tue Nov 25, 2025 4:46 pm
User avatar
Re: Banzai's MT5 Trading System
RSI (3) to find Peaks & Troughs (on/off button) T
Banzai, Tue Nov 25, 2025 2:07 pm
User avatar
Re: Convert MT5 indicators to MT4
Did something somewhat similar here.
mrtools, Tue Nov 25, 2025 1:06 pm

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

Login




Register