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

Fernando Carreiro  
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!


Nitin Raj  
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");
Victor Ian Torres  
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.

Nitin Raj  
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. 
Victor Ian Torres  
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? 

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

Victor Ian Torres  
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..
Victor Ian Torres  
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: