I would like to embed some custom indicators in an expert advisor, that means, compile the EA and indicators code altogether.
I've already seen some EAs with this functionality, by which it's possible to add custom indicators to charts depending on the settings and those are also shown at the Indicators List, allowing us to change the input parameters as well. Everything from one single ex5 file.
I couldn't figure out a way of doing that, since including code seems not to be the right way.
It would be something like linking a number of compiled objects to form a single executable file.
One workaround would be to insert the indicator file as a binary array and save a copy when needed, but I'm wondering if there's another way of doing that.
Thank you very much Nicholishen!
Now it's clear to me.
Just to add a reference to the topic, I will leave this link:
https://www.mql5.com/en/docs/runtime/resources
Best regards,
- www.mql5.com
Use the publicly released code - Expert Advisors and Automated Trading - MQL5 programming forum
- 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 would like to embed some custom indicators in an expert advisor, that means, compile the EA and indicators code altogether.
I've already seen some EAs with this functionality, by which it's possible to add custom indicators to charts depending on the settings and those are also shown at the Indicators List, allowing us to change the input parameters as well. Everything from one single ex5 file.
I couldn't figure out a way of doing that, since including code seems not to be the right way.
It would be something like linking a number of compiled objects to form a single executable file.
One workaround would be to insert the indicator file as a binary array and save a copy when needed, but I'm wondering if there's another way of doing that.