You got to dimension the array before to use it, otherway it will give you zeros.
limit=AllBars-ttPeriod-1;
ArrayResize(Array1, limit);
ArrayResize(Array2, limit);
for(i=0; i<limit; i++) {
. . . .
limit=AllBars-ttPeriod-1;
ArrayResize(Array1, limit);
ArrayResize(Array2, limit);
for(i=0; i<limit; i++) {
. . . .
Dear Turcol,
Thank you, it works fine now :)
Is there a place where i can see a language reference for MQ4?
Thanks again.
Regards
Alejandro Galindo
Thank you, it works fine now :)
Is there a place where i can see a language reference for MQ4?
Thanks again.
Regards
Alejandro Galindo
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
if i do a simple example it dosent work too:
Any advice on how to solve this problem?
Thanks
Alejandro Galindo