How to sell expert adviser that uses a custom indicator in the market?

 

Hello, just what the title says, I want to sell an EA that uses custom indicator, can somebody teach me how?



Best Regards.

 
Victor Ian Torres: Hello, just what the title says, I want to sell an EA that uses custom indicator, can somebody teach me how?

Please do a search. The question has been asked and answered several times!


 
Victor Ian Torres:

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");
 
Nitin Raj:

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.

 
Victor Ian Torres:

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. 

After that you can distribute the EA as a standalone file, it would load the indicator from resources. 
 
Nitin Raj:
When you compile the EA, the resource indicator should be available in the indicators folder. 

After that you can distribute the EA as a standalone file, it would load the indicator from resources. 

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? 

 
Victor Ian Torres: 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? 
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?
 
Fernando Carreiro:
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?

I read it, sorry now i understand. 

 

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


 
Fernando Carreiro:
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..
 
Nitin Raj:

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");..

Reason: