Download MetaTrader 5

How can I use a external indicator in my EA?

To add comments, please log in or register
Andres
10
Andres  

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  

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  
OK I found I can, thanks anyway
Andres
10
Andres  
OK I found I can, thanks anyway
To add comments, please log in or register