question answered. I find out that when symbol added to Market Watch Window retry loop still happens but ok result happen in the end.
I doing multi symbol/period EA and that is why I ask for support - unable get data many symbols - but is ok now.
Now I know how get results.
thanks me - lol
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
I learn about ArrayCopySeries() with code below.
Attached text file is collection of printed results from a few runs of script.
.hst files for various symbol/period deleted before tests.
Problem is over the results which can be inconsistent, as if system has problem?
Look at attached file please - even take code into script and see for self.
One thing I learn is smaller Sleep() times makes for faster results. I mean that say first call gets 4066, so Sleep(ms); then retry and maybe more Sleep(ms); retry loops. If big ms maybe system finish fast but EA must finish Sleep(big ms); and time wasted. If small ms maybe few extra retrys but total Sleep(small ms); is less. You test - is maybe of interest for you also.