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
The functionality is great, I tweaked it to my liking at work under visual studio, there are even a lot of tricks and tips and everything works!!!! There is no limit to my happiness.
Just can't configure the compilation yet...
The functionality is great, I tweaked it to my liking at work under visual studio, there are even a lot of tricks and tips and everything works!!!! There is no limit to my happiness.
Only thing is, I can't set up the compilation yet...
You must have something like
Where the path to the MQL5 compiler is specified.
Download the 86 or 64 compiler.
Very important to keep in mind - the compiler will not be updated automatically after the time the developers took it out of MT. Now you have to update the file manually as new builds of MT are released.
And you should also keep in mind that this (mql5) compiler does the same for ex4 and you don't need to do anything for that - it is enough that the file extension was *.mq4
You should have something like
where the path to MQL5 compiler is specified
Download compiler 86 or 64.
Be very aware that the compiler will not be updated automatically after the time the developers took it out of MT. Now you have to update the file manually as new builds of MT are released.
And you should also keep in mind that this (mql5) compiler does the same for ex4 and you don't need to do anything for that - it is enough that the file extension was *.mq4
How do I run a console command to compile with MetaEditor?
I've tried everything - ME just opens the file and that's it.
I, for example, made a bat directory in the installation folder:
I managed to set up the compilation like this:
D:\Soft\\Invests\Develop\MT5\metaeditor64.exe /compile:"%f" /i d:\Soft\Invests\Develop\MT5\MQL5\ /log:filename.log type filename.log
There is one problem though... The compiled file is created in project folder MQL5\Projects, and not in MQL5\Experts\Projects\ if it's Expert Advisor. ME transfers the file automatically, but if I call it with a console command as shown above, the file is not transferred.
I managed to set up the compilation like this:
D:\Soft\\Invests\Develop\MT5\metaeditor64.exe /compile:"%f" /i d:\Soft\Invests\Develop\MT5\MQL5\ /log:filename.log type filename.log
There is one problem though... The compiled file is created in project folder MQL5\Projects, and not in MQL5\Experts\Projects\ if it's Expert Advisor. ME will transfer the file automatically, but if you call it with a console command, as shown above, the transfer will not take place.
Add after "metaeditor64.exe /compile: blah blah blah blah" a line
should this be done directly in the compile command or a separate command?