Have you sized the array?
miko.szy:
Is it a buffer in an Indicator or an array in a Script/EA ? for an array you have to declare it with a fixed size or ArrayResize() it . . .
Hi,
I have a wired problem with my array.
I used to be a programmer, and I never had this kind of problem before...
Do I need something special to use array in EA?
Below is simply not working.
Chinkou_Buffer[i]=Close[i]
When I Print() these three values, i and Close[i] have values.
Chinkou_Buffer[i] is decleared as double, which is same as Close.
Your advice is much appreciated!
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi,
I have a wired problem with my array.
I used to be a programmer, and I never had this kind of problem before...
Do I need something special to use array in EA?
Below is simply not working.
Chinkou_Buffer[i]=Close[i]
When I Print() these three values, i and Close[i] have values.
Chinkou_Buffer[i] is decleared as double, which is same as Close.
Your advice is much appreciated!