Nobody can help you without a full code.
There is nothing wrong with MT5, the problem is in your code.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Greetings,
I'm writing an indicator which draws colored bullets(arrows).
Sometimes after a period of time the bullets disappear.
I debugged the bullet buffer after the disappearance and the buffer was correct, with correct values on correct indexes.
After the disappearance the next bullets are shown until they disappear as well.
The same approach is used on MQL4 code for MT4 and the indicator works fine.
Is something wrong with MT5 rendering which has to be configured?
What am I missing?