Discussion of article "Ready-made Expert Advisors from the MQL5 Wizard work in MetaTrader 4" - page 2
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
what I did after following your instruction was: I just copy the MQL5 source file and the MQL5 Program then follow by pasting it into the main directory of Expert folder
and I got so many error.
I don't understand what you mean. You need to unzip the provided patch for MT4 library into MQL4/Include folder. MT5Bridge.mqh header is also required.
How did you get the source code of your expert adviser in MQL5? Only experts generated by MQL Wizard are supported.
After some investigation of the use-case above I can now make a note:
Don't forget to change your expert file extension from mq5 to mq4 after you copy it to MQL4/Experts folder and before compilation.
MetaEditor can compile both MQL4 and MQL5, but MQL5 internally provides many built-in types which will interfere with emulated types introduced in the MT5Bridge.mqh. This will not and is not intended to compile.