Question about IndicatorCounted()

 
Hi

https://docs.mql4.com/customind/indicatorcounted

How does IndicatorCounted() know which indicator, if there are more then 1 launched on the chart; and what if they have different array sizes ?

Will IndicatorCounted() handle this automatically for all arrays and sizes ?

Please advise

 
Agent86: How does IndicatorCounted() know which indicator, and what if they have different array sizes ?
  1. It's the indicator that calls it.
  2. You must manage your own arrays. The indicator buffers have already been enlarged to Bars before OnStart/start is called.

 
Thanks
Reason: