with MQL4 credits and debits and other bookings on the account are cached with OrdersTotal ( "history" ).
In MQL5 HistoryOrdersTotal() seems to ignore them. On the other hand to get account information 'knows' only AccountInfo[Integer,String,Double] but I don't see any way to loop through the history for such bookings.
Hi,
with MQL4 credits and debits and other bookings on the account are cached with OrdersTotal ( "history" ).
In MQL5 HistoryOrdersTotal() seems to ignore them. On the other hand to get account information 'knows' only AccountInfo[Integer,String,Double] but I don't see any way to loop through the history for such bookings.
Any hint?