BHC:
Have you ArrayResize() the array before you used ArraySize() on it ? what build of MT4 are you using ?
I get the error 1 parameter for ArraySize function must be an array with a particular broker. How could this be explained?
RaptorUK:
Have you ArrayResize() the array before you used ArraySize() on it ? what build of MT4 are you using ?
Have you ArrayResize() the array before you used ArraySize() on it ? what build of MT4 are you using ?
No I had not tried to resize first.
I am compiling with build 509.
RaptorUK:
Have you ArrayResize() the array before you used ArraySize() on it ? what build of MT4 are you using ?
Have you ArrayResize() the array before you used ArraySize() on it ? what build of MT4 are you using ?
Resizing before does not help
BHC:
Resizing before does not help
OK, there should be no problem with build 509, I think you need to show more of your code . . . I can't see the cause of the error . . .
Resizing before does not help
RaptorUK:
OK, there should be no problem with build 509, I think you need to show more of your code . . . I can't see the cause of the error . . .
OK, there should be no problem with build 509, I think you need to show more of your code . . . I can't see the cause of the error . . .
I got this to work. I had called the ArraySize function with a variable that was not an array at some other point in my code. Thanks for the help any way.

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
I get the error 1 parameter for ArraySize function must be an array with a particular broker. How could this be explained?
double _V[],_value;