Download MetaTrader 5
To add comments, please log in or register
Join MQL5 Cloud Network. Improve your rating!
Agent86
915
Agent86 2014.10.27 14:38 
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

whroeder1
13610
whroeder1 2014.10.27 14:54  
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.

Agent86
915
Agent86 2014.10.30 13:39  
Thanks
/
To add comments, please log in or register