[ARCHIVE] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 3. - page 441

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
Yes, I got it. Reread my answer.
Identify the signs by which you can determine that everything is in place for the EA to work. And program the correct execution.
You're talking about "signs". I'm asking what signs may tell the Expert Advisor that the history is loading?
You are talking about a "sign". I'm asking what sign would tell the EA that the story is loading?
When you look at the screen, is there any way to tell if it is loading?
When you look at the screen, is there any way to tell if it is loading?
The Expert Advisor is triggered regardless of whether the trader is looking at the screen or not.
Actually, I had the idea of introducing a time delay, but thought there might be something more reliable.
The Expert Advisor is triggered regardless of whether the trader is looking at the screen or not.
Actually, I had an idea to introduce a time delay, but thought there might be something more reliable.
You could try using error 4066
You could try using error 4066
Checked the terminal log files of the terminal where the problem was observed - there was no such error.
Checked the terminal log files of the terminal where the problem was observed - there was no such error.
So there was no history download
So there was no history loading
History downloaded, no doubt about it :)
(terminal was not connected to the internet for exactly a month and is now running with current quotes)
Now I remembered - there was something else: the account was Demo (EA testing) and it was closed during that month. History loading started when I opened a new account (EA was not disabled in settings when I changed profile and account, which has already been fixed).
History downloaded, no doubt about it :)
(terminal was not connected to the internet for exactly a month and is now running with current quotes)
Now I remembered - there was something else: the account was Demo (EA testing) and it was closed during that month. History loading started when I opened a new account (EA was not disabled in settings when changing profile and account, which has already been fixed).
Error 4066 - Historical data is being updated.
Error 4066 - Historical data is being updated.
I don't even know how to explain the absence of this error in the logs.
The idea came up to choose a time in the distant future as a reference point and compare it with the last few minutes on a 0-zero bar. If for a few minutes the difference each time (for each new bar) will be 60 seconds then allow the EA to start working (something like that).
Guys, how do you open a pending order for 10 minutes (from the moment it opens) so that it will then die if it doesn't trigger?
Give me an example, please!