I've been working on an EA, and over time, I've added several libraries that depend on other libraries. Since I was collaborating with another programmer, the code has become quite extensive and difficult to manage. I know it wasn't the best way to organize it, but now I'm wondering if there's an automatic way to consolidate all the necessary code into a single file to compile the EA without relying on external files. Has anyone faced a similar issue or knows of any tools or methods to do this?
- How is your code organized?
- mql4 multicore parallelization
- compact compiling headers into final product?
Enrique Enguix:
I've been working on an EA, and over time, I've added several libraries that depend on other libraries. Since I was collaborating with another programmer, the code has become quite extensive and difficult to manage. I know it wasn't the best way to organize it, but now I'm wondering if there's an automatic way to consolidate all the necessary code into a single file to compile the EA without relying on external files. Has anyone faced a similar issue or knows of any tools or methods to do this?
Why do you want to do that ?
Having all code in one file will certainly not make it easier to manage (unless we have a different view on what 'manage' means).
Alain Verleyen #:
Hi AlainWhy do you want to do that ?
Having all code in one file will certainly not make it easier to manage (unless we have a different view on what 'manage' means).
The problem is that there is an overly complex structure of libraries that call each other. My goal is to reorganize them to simplify their structure and then redistribute them more efficiently.
Enrique Enguix #:
Hi Alain
Hi Alain
The problem is that there is an overly complex structure of libraries that call each other. My goal is to reorganize them to simplify their structure and then redistribute them more efficiently.
Then reorganize them but keep separated files. I am suggesting you to avoid a "all in one" file, you will create new problems.
A ZIP file is easy to create and distribute.
See this good tool provided by Stanislav.

MQL5 Program Packer
- www.mql5.com
This is MQL5 project packer: assemble all source and resource files from dependencies into a single ZIP.

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