Please do a search. The question has been asked and answered several times!
Forum on trading, automated trading systems and testing trading strategies
Publish EA and indicator as one product on the market
Stanislav Korotky, 2017.09.13 16:03
You can embed your indicator into EA using #resource "\\Indicators\\xxx" directive.
Hello, just what the title says, I want to sell an EA that uses custom indicator, can somebody teach me how?
Best Regards.
Use Resources. You can call a custom indicator into the EA using resources.
If I want to distribute my EA to others without distributing the custom indicator separately, I would do it this way:
#resource "\\Indicators\\Custom Indicator xyz.ex5" iCustom(_Symbol,0,"::Indicators\\Custom Indicator xyz.ex5");
Use Resources. You can call a custom indicator into the EA using resources.
If I want to distribute my EA to others without distributing the custom indicator separately, I would do it this way:
Thanks for the reply, How do I upload in resources. Sorry I really don't have any idea.
Thanks for the reply, How do I upload in resources. Sorry I really don't have any idea.
When you compile the EA, the resource indicator should be available in the indicators folder.
I didn't quite get it, I mean, you can upload only, 1 file right? if you want to sell them to the market, the moderators will check it for errors and bugs etc but the problem is it will not run if they don't have a copy of the custom indicator. So my question is, how do I upload the custom indicator then where?
hello! despite following some steps and wernt through the documentation it seems not to work. when i change brokers it says 2018.10.02 03:14:09.400 2018.01.03 14:06:41 cannot open file 'C:\Users\Joslinl\AppData\Roaming\MetaQuotes\Terminal\1DAFD9A7C67DC84FE3TFAA1FC1E5CF75\MQL4\indicators\TrendEnvelopes_v2.ex4' [2]
Can you assist
The #resource directive, embeds the files (indicators, images, etc.) into the compiled executable file. I provided you with the link to the documentation in my post. Why did you not read up on it?
2016.04.01 00:00:00 cannot open file 'MQL4\indicators\HM.ex4' [2] 2016.04.01 00:00:00 cannot open file 'MQL4\indicators\ADX+MA.ex4' [2] 2016.04.01 00:00:00 cannot open file 'MQL4\indicators\ADX+MA.ex4' [2] 2016.04.01 00:00:25 cannot open file 'MQL4\indicators\HM.ex4' [2] 2016.04.01 00:00:25 cannot open file 'MQL4\indicators\ADX+MA.ex4' [2] 2016.04.01 00:00:25 cannot open file 'MQL4\indicators\ADX+MA.ex4' [2] 2016.04.01 00:00:50 cannot open file 'MQL4\indicators\HM.ex4' [2] 2016.04.01 00:00:50 cannot open file 'MQL4\indicators\ADX+MA.ex4' [2] 2016.04.01 00:00:50 cannot open file 'MQL4\indicators\ADX+MA.ex4' [2] 2016.04.01 00:01:02 cannot open file 'MQL4\indicators\HM.ex4' [2] 2016.04.01 00:01:02 cannot open file 'MQL4\indicators\ADX+MA.ex4' [2] 2016.04.01 00:01:02 cannot open file 'MQL4\indicators\ADX+MA.ex4' [2] 2016.04.01 00:01:15 cannot open file 'MQL4\indicators\HM.ex4' [2] 2016.04.01 00:01:15 cannot open file 'MQL4\indicators\ADX+MA.ex4' [2] 2016.04.01 00:01:15 cannot open file 'MQL4\indicators\ADX+MA.ex4' [2] 2016.04.01 00:01:27 cannot open file 'MQL4\indicators\HM.ex4' [2] 2016.04.01 00:01:27 cannot open file 'MQL4\indicators\ADX+MA.ex4' [2] 2016.04.01 00:01:27 cannot open file 'MQL4\indicators\ADX+MA.ex4' [2] 2016.04.01 00:01:40 cannot open file 'MQL4\indicators\HM.ex4' [2] 2016.04.01 00:01:40 cannot open file 'MQL4\indicators\ADX+MA.ex4' [2] having this kind of errors..
Use Resources. You can call a custom indicator into the EA using resources.
If I want to distribute my EA to others without distributing the custom indicator separately, I would do it this way:
Solve!! This is the answer, I forgot to edit this part iCustom(_Symbol,0,"::Indicators\\Custom Indicator xyz.ex5");..

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello, just what the title says, I want to sell an EA that uses custom indicator, can somebody teach me how?
Best Regards.