You can use Sleep() to give time for each functions to execute.
i will try that and report back , thanks
Like Sleep(100) before each function call in OnDenit
Okay. You can also try this. Like cleanup if IsStopped.

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
Let me preface this with the following : this might not be a terminal issue but it looks like a terminal issue.
The problem : if i remove the EA and then attach it again (even in a new chart):
It appears to be affecting the strategy tester charts too
I cannot share the code here , i can send it to a mod/admin if they want to verify.
thanks
[i compile it with the cloud compiler although i don't think that is a factor]