falconin:
Your arrays look like they have a size of zero elements to me . . . but I can't be sure with the new mql4.
Hi All,
I wrote a piece of code for mql4 in metatrader platform to do trade automatically. but surprisingly I don't know that it doesn't work. I've understood 2 things in my expert code:
1. the For loop just repeat one or two times instead of "UpperBound" variable.
2. in the log, I can see that the For loop goes beyond the "UpperBould".
in the print function, I've got 1 or 11 but the minFStablePeriod=10.
Could you help me to solve the problem?
I suppose I should initialize the array explicitly so in this way, the problem is resolved.
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 All,
I wrote a piece of code for mql4 in metatrader platform to do trade automatically. but surprisingly I don't know that it doesn't work. I've understood 2 things in my expert code:
1. the For loop just repeat one or two times instead of "UpperBound" variable.
2. in the log, I can see that the For loop goes beyond the "UpperBould".
in the print function, I've got 1 or 11 but the minFStablePeriod=10.
Could you help me to solve the problem?