Hello, I am starting to learn MQL5 and right at the beginning I have a problem that I can't solve. The console shows an error that my function has no body, even though everything is in the second file. Help!
Files:
Screenshot_1.png
44 kb
Screenshot_2.png
55 kb
- How can I solve "invalid volume" problem on my expert advisor?
- How do you solve the problem of invalid volume?
- Learning and writing together in MQL5
still nothing :(
Files:
Screenshot_3.png
95 kb
When I move the function to the First_Expert file, everything works, but when the function is in the file with functions, it throws errors. The problem probably lies in the #include, i.e., loading the file.
Make sure the file you included contains the function. Perhaps you included some other file

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