I have an indicator which when first place on chart, much of it does not draw. Then if I remove it from the chart and reload it back on the chart it works. Also if I switch chart period, then switch back, it works. It looks like the required historical bars are not in memory at the first draw. I need some way to make sure the bars are in memory first. Any ideas?
- Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6.
- Questions from Beginners MQL4 MT4 MetaTrader 4
- How long does EA logic continue?
Had this problem with one of my indis. WindowRedraw() solved it.

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