You attempt to initialize an empty array
BTW it is useless to initialize array before copying
BTW it is useless to initialize array before copying
Thanks as always Slawa...
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
ArrayInitialize function internal error
The funny thing is the code works fine and does exactly what I want it to do, it is just these errors in the log.
This is an extract from the code I am using.
double array_price[][6];
double mpfx ;
ArrayInitialize(array_price,0);
ArrayCopyRates(array_price,(Symbol()), PERIOD_W1);
mpfx = array_price[0][1];
Thanks.........