Download MetaTrader 5

How can I use a external indicator in my EA?

To add comments, please log in or register
Sign up for MQL5.community to post your Forum topic
Andres
10
Andres 2015.08.18 13:03 

I have tried with the function iCustom and I have succesfully loaded the indicator. But how can I get the data from the indicator? I mean it is 3 bands and I am only getting the middle one value...

 

Another question is, could I use a protected indicator in my EA by loading it? The owner gives me permision but do not want to give me the code.

 

 

Thanks for answering guys 

Andres
10
Andres 2015.08.18 13:55  

OK I found it:

 

mode 

[in]  Line index. Can be from 0 to 7 and must correspond with the index, specified in call of the SetIndexBuffer() function.

 

  could I use a protected indicator in my EA by loading it?

Andres
10
Andres 2015.08.18 15:47  
OK I found I can, thanks anyway
Andres
10
Andres 2015.08.18 15:47  
OK I found I can, thanks anyway
To add comments, please log in or register