Download MetaTrader 5
To add comments, please log in or register
Use the Pocket to paste your content. It is convenient!
cyberglassed
611
cyberglassed 2014.05.09 07:55 

Hello, I would like to know how many buffers an indicator has, given its handle?

maybe reading the property: "indicator_buffers"?, or somehow else?


Regards.

Alain Verleyen
Moderator
30321
Alain Verleyen 2014.05.09 12:14  
cyberglassed:

Hello, I would like to know how many buffers an indicator has, given its handle?

maybe reading the property: "indicator_buffers"?, or somehow else?


Regards.

I don't think it's possible.

By the way, what to do ? How can you work with an indicator if you don't know how many buffers it has ?

cyberglassed
611
cyberglassed 2014.05.09 20:34  

It was for a generalizing code only. But anyway, as you mentioned,

I can specify previously the number of buffer in some array variable for a set of indicators I could use.


Thanks.

/
To add comments, please log in or register