Where the documentation for all the cases of causing indicatorCounted()==0?

 

I know that these causes IndicatorCounted()==0:

1. indicator first time being run

2. incoming new historical data because user key-pressed "home"

3. MT4 went offline temporarily

4. there are missing bars between the current Time[0] and Time[1] e.g. Time[0]==13:12, Time[1]==13:15

Today, I may have found out that when the total number of bars in chart exceed the "Max bars in chart" of Options, IndicatorCounted()==0 randomly occurs at a regular interval, causing complete recalculation of the entire chart regularly. I just want a confirmation by the MT4 people, could this causes indicatorCounted()==0?

What other undocumented surprises of IndicatorCounted()==0 could I be expecting? This is serious problem it is extremely performance costly when IndicatorCounted()==0, since it tell us nothing of the specific bars are changed, by documentation, it want us to recalculate the complete chart...

 

Contact MetaQuotes directly: Here. I'm not aware of a All-Case documentation.

Here are some helpful Article. https://www.mql5.com/en/articles/1411

And Forum Discussions: https://www.mql5.com/en/forum/135902

 

Those articles don't have an answer to my question:

when the total number of bars in chart exceed the "Max bars in chart" of Options, will this cause IndicatorCounted()==0 to happen not just once, but regularly?

I am assuming this is true, because as soon as I set "Max bars in chart" to 9999999999, being impossible to exceed, there are no more IndicatorCounted()==0. But when I don't set it, IndicatorCounted()==0 is appearing like crazy a lot, non-stop, when nothing is wrong (good connection, not pressing 'home' key, no missing bars). Pls confirm if I am right... This sounds like a MT4 bug. Doesn't sound like a coding error by me.

Reason: