Hello, I would like to know how many buffers an indicator has, given its handle?
maybe reading the property: "indicator_buffers"?, or somehow else?
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 ?
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.
I actually have a use case for this which I hope to implement rather soon.
I know this is not really something necessary for the profitability of any sort of trading tool but I expect it to be of tremendous value for investigating how components work together and for development in general. In my opinion it should be possible from the point of view of quality assurance, e.g. by a function like int IndicatorBuffers(handle)