Features of the mql5 language, subtleties and tricks - page 174
![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
is different
there are so-called Control and Management tasks
EA - management, service - control
control should not be superfluous - if you consume all resources of the system, you get an unstable system instead of control
So what is the saving? The service will do the same enumeration of orders, the same comparisons.
If the idea is for one service to 'service' multiple advisors by sending them the 'something has changed' signal, then the solution is questionable.
Firstly, it is silly to wait for the critical data needed to make a decision from outside. And secondly, the savings, if any, will only be in the case of a multitude of Expert Advisors in one terminal.
This is more of a theoretical trick, in practice we have no problems with order lookup in the EA.
Some kind of MT5 glitch caught this situation. Keep in mind that this ban may be the result of the Terminal (bug), not the broker.
It's not the same situation as Robo, the first 2 minutes the trade is closed and the quotes go?
Only I don't remember if trading is banned every day or only on Mondays for these 2 minutes.
It's not the same situation as Robo, the first 2 minutes the trade is closed and the quotes are coming in?
Only I don't remember if every day or only on Mondays these 2 minutes are not allowed to trade.
No, this is in the middle of the day. MT5 failure, the broker is not involved.
Only I don't remember if trading is banned every day or only on Mondays for those 2 minutes.
Forum on trading, automated trading systems and trading strategies testing
Peculiarities of mql5, tips and tricks
fxsaber, 2020.04.30 08:49
Some glitch in MT5 has caught this situation. Keep in mind that such a ban may be the result of the Terminal (bug), not the broker.I got it again. I assume that this may occur in rare situations when re-logging.
Solution - if false, try again after a short pause.
When you need to catch a change in a variable on assignment.
You have UB here, you can't use it.
You have UB here, you can't use it.
It works, but you can suggest a proper macro.