Account History Terminal

 

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