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?
- View and Configure Charts - Price Charts, Technical and Fundamental Analysis
- MQL5 Wizard: Development of trading robots for MetaTrader 5
- MetaEditor - Professional editor of trading applications
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.
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