![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
Any ideas? :)
Well, it seems that TimeCurrent() is not updated quickly enough
Could this be a workaround?
It should mean that when you start the terminal it will wait for the time to update. If this doen;t work, then I don't expect to have any further suggestions.
Ok so it didn't give any of the previous days results which is good! But I can't test conclusively as there we no alerts produced today. But id does seem to be working, I will know for sure on Tuesday!
Thanks GumRai!
No I lie!
It now doesn't show the previous days alerts as well as today's alerts, but I need to open the client twice to get all of todays alerts.
So the first time I open the client, I will get 1 alert. Then when I close and open it again, I get the original correct alert plus the rest of the alerts for the day.
Weird?
Richard