ArrayResize(mypool,count); mypool[i][0]=OrderTicket(); mypool[i][1]=OrderOpenPrice(); count++;
- Are you using strict? Always use strict. Fixing the warnings will save you hours of debugging, but you must understand the differences.
If so, what is the initial value of count?
- If count is initially zero, what does your resize do?
- After you enlarge mypool to count, why do you try to store in i?
William Roeder:
I am not using strict. ANd the initial value of count is zero.
- Are you using strict? Always use strict. Fixing the warnings will save you hours of debugging, but you must understand the differences.
If so, what is the initial value of count?
- If count is initially zero, what does your resize do?
- After you enlarge mypool to count, why do you try to store in i?
Roberto Mesquita:
I am not using strict. ANd the initial value of count is zero.
I want to store the OrderOpenPrice and the OrderTicket in this array
I am not using strict. ANd the initial value of count is zero.
- Roberto Mesquita: I am not using strict. ANd the initial value of count is zero.
Not "ANd" but because you are not using strict the initial value of count is zero. There are no mind readers here and our crystal balls are cracked.
- Roberto Mesquita: I want …That was obvious from your posted code.
Roberto Mesquita:
I am not using strict. ANd the initial value of count is zero.
I am not using strict. ANd the initial value of count is zero.
Thanks for your help
I change to strict and corrected the errors.
The array size was the problem.

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