Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 566
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
How do I declare my optimization criterion in 610 build, on my old EA?
The Expert Advisor is running on the 610 build.
For example, on MQL5 the code is as follows:
If I place it on Expert Advisor before it starts, Custom column does not appear.
And the second question: Old EAs show a yellow message during compilation: function must return a value.
Example line.
I can't figure out how to write to the next line...
I'm trying to write each quote on a new line and it's not working ....
I am testing an EA with a custom indicator. Sometimes trades are opened in accordance with the conditions, and other times it is not clear on what principle. I start visualization, the indicator is drawn as it should be, but deals do not always coincide with the indicator. I tried to check the problematic areas with the alerts, but the indicator in the Expert Advisor shows zeros as well. I do not understand what the problem is, if the indicator is drawn correctly when testing, where are the indicator values passed to the EA?
The code is in the Expert Advisor:I can't figure out how to write to the next line...
I'm trying to write each quote on a new line and it's not working ....
FileSeek
I am testing an EA with a custom indicator. Sometimes trades are opened in accordance with the conditions, and other times it is not clear on what principle. I start visualization, the indicator is drawn as it should be, but deals do not always coincide with the indicator. I tried to check the problematic areas with the alerts, but the indicator in the Expert Advisor shows zeros as well. I do not understand what the problem is, if the indicator is drawn correctly during the test, where are the indicator values passed to the Expert Advisor?
The code is in the Expert Advisor:maybe the problem is in the EA?
maybe the problem is with the advisor?
An error has occurred that I don't understand:
in the line:
return (li_cnt);
this line is in the function:
Variable li_cnt is declared as seen. The compiler swears that it's not declared. What does this mean?An error has occurred that I don't understand:
in the line:
this line is in the function:
Variable li_cnt is declared as seen. The compiler swears that it's not declared. What does this mean?An error has occurred that I don't understand:
in the line:
this line is in the function:
Variable li_cnt is declared as seen. The compiler swears that it's not declared. What does this mean?AlexeyVik, Vladon,
Yes, as is usually the case, it's quite obvious. It's either my inattention or overwork. Thanks for the tip.
Another error has occurred, not even an error, but a warning in the function:
On the line:
The code seems to be fine. Should these warnings be ignored?