![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
Hi All
Just wondering if a method of automatically changing the Account History in the terminal to today existed. In other words my EA uses data from OrderHistoryTotal() however when the new trading day opens the Account History Terminal still shows yesterdays data. I then have to physically be in front of the terminal to change the date to today from the drop down context menu.
When the first tick of the new trading day comes in OrderHistoryTotal() should = 0 as no trades have yet closed, however it still shows the number of closed trades from yesterday. Can it be automated.
Thanks