Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 302

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
Well, there's a function that converts any date you pass into it to the start of the year of the date you passed into the function:
But what date, and how you'll pass it ...Thank you,Artyom Trishkin. I hope the errors are fixed now.
Unfortunately, the error and warning remain as they were.
the terminal has rebooted.
Unfortunately, the error and the warning remain as they were.
Good. Couldn't use a ready-made one. You will have to do it yourself.
First, remove all the Alerts and put the variables in order.
You shouldn't assign string values to integer variables.
And for functions. You either need to remove the parameters in some functions or give them other names that do not coincide with the global.
Thank you,Artyom Trishkin. I hope the errors have been corrected now.
It was Victor who helped you, not me.
Forum on trading, automated trading systems and strategy testing
Any questions from newbies on MQL4, help and discussion on algorithms and codes
Victor Nikolaev, 2017.09.06 12:05
Ok. Could not use a ready-made one. You will have to do it yourself.
First, remove all the Alerts and put the variables in order.
Don't assign string values to integer variables.
And for functions. Or you have to remove parameters in some functions or give them other names that do not coincide with the global.
Thank him and listen to him - he will not tell you anything bad.
I will removethe Alert, it's not hard. What about the error? And the warning?
I don't understand.I will remove the Alert, it's not difficult. What about the error? And the warning?
Fix it, of course, what else, they even suggested a solution. Aren't you tired of making a mountain out of a molehill? Maybe programming is not your thing, try your hand at construction.
Fix of course, what else, there is even a solution offered here. Aren't you tired of making a big deal out of it? Maybe programming isn't your thing, try your hand at construction.
Where did I go wrong?
Could you please indicate where I assigned string values to string variables?
There was a warning "Implicit conversion from string to number". But I don't see an assignment.
Please indicate where I assigned string values to string variables?
There was a warning "Implicit conversion from string to number". But I don't see the assignment.