#include not working
Correction: that is not the code I used!
I found the problem. I had pasted the name of the file from its header which gave it a .mq4 extension, rather than its actual name which gives it a .mqh extension.
That seems like a bug in the wizard. Why does it create a header with an invalid file name/extension?
Correction: that is not the code I used!
I found the problem. I had pasted the name of the file from its header which gave it a .mq4 extension, rather than its actual name which gives it a .mqh extension.
That seems like a bug in the wizard. Why does it create a header with an invalid file name/extension?
Hello, my #include command isn't working.
When I create a new include file using the wizard provided through the file menu on MetaLanguage Editor, it saves the include to the includes directory within the same directory as the EA.
When I compile the EA, there is an error that it cannot open the include file.
I have tried three ways to format the include command, all three of which seem to be represented in the documentation (https://docs.mql4.com/basis/preprosessor/include).
What am I missing?