I’ve recently started programming and I’ve encountered a small issue.
I’m using MetaEditor through my broker’s terminal (Puprime).
After compiling the file and sending it to someone using a different broker, they receive an error message stating that a newer version is required.
Does this mean I need to compile the file using an older version of MetaEditor 5?
Or is there another way to ensure compatibility?
I'm also facing a problem when trying to publish the file on the marketplace—it gives me a warning saying the file was compiled in debug mode. However, I can't find a way to change this setting.
These are probably beginner questions, but I would really appreciate any guidance or solutions.
Thanks in advance!
Best regards,
Melvin
Your file is compiled using your broker’s MetaEditor which might use a newer build than the recipient's.
- Ask the recipient which version they use.
- Compile your file with that same version (or an older one) using the official MetaEditor from MetaQuotes if possible.
When you try to publish your file, it warns that it was compiled in debug mode.
- Open MetaEditor. & Go to Tools → Options → MQL5.
- Look for the setting “Generate Debug Information” (or similar) and turn it off.
- Also, remove any debug-specific lines in your code like #define _DEBUG.
When you try to publish your file, it warns that it was compiled in debug mode.
- Open MetaEditor. & Go to Tools → Options → MQL5.
- Look for the setting “Generate Debug Information” (or similar) and turn it off.
- Also, remove any debug-specific lines in your code like #define _DEBUG.
This is incorrect.
Just click Build -> Compile (F7) - this will recompile your program in standard mode without debug information.
Your program can be compiled with debug information only if last time you run it by Debug -> Start on Real Data (F5) or Debug -> Start on History Data (Ctrl+F5), and did not recompile normally afterwards.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I’ve recently started programming and I’ve encountered a small issue.
I’m using MetaEditor through my broker’s terminal (Puprime).
After compiling the file and sending it to someone using a different broker, they receive an error message stating that a newer version is required.
Does this mean I need to compile the file using an older version of MetaEditor 5?
Or is there another way to ensure compatibility?
I'm also facing a problem when trying to publish the file on the marketplace—it gives me a warning saying the file was compiled in debug mode. However, I can't find a way to change this setting.
These are probably beginner questions, but I would really appreciate any guidance or solutions.
Thanks in advance!
Best regards,
Melvin