I have an indicator that during the initialization phase
During init() bars are not available, such as on terminal startup, the EA and indicators get loaded, then history gets updated from the server, then a tick comes in to start().
If I misunderstood your question, post the 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
Hello,
I am new to this Mql4 programing and I had a question I was hoping someone could help with. I have an indicator that during the initialization phase I have a loops a function mutiple times over. I think the loop is moving on to the next cycle before the function has time to fully calculate. Is there a way to make sure the function calculates before it moves on to the next iteration?
Any help would be much apprectiate.