Hi guys! I have a problem with my EA code. How can I remove blinking?

 
Hi guys! I have a problem with my EA code.
In my code I create and delete objects many times.
so when I test it , It's blinking too much.
Is there a way to fix it?
 
dlrkfka1028:
Hi guys! I have a problem with my EA code.
In my code I create and delete objects many times.
so when I test it , It's blinking too much.
Is there a way to fix it?

Well, do not create and delete objects many times :)

Create them once in OnInit, than update them only many times, and than delete them all in OnDeinit.

 
ChartRedraw() immediately after creating objects on MT5
 
Pasting the code makes it easy to analyse and trace the root cause of the problem.
Reason: