Account History

 

Hello,

I am testing an EA over VPS.

Among others, the EA before placing a new order check if it doesn't already placed a trade for the same trend, but already closed (it must place only one trade for one trend).

To do this, it check in the Closed Trades pool (Account History tab) if there is no other trade already closed, placed after current trend started.

I've noticed that last night (Monday, February 1st, 2021), the EA placed trades despite the fact under the same trend where placed trades on Friday (closed on Friday, January 29th, 2021).

It acted as during week-end on the VPS the Account History was set to zero (New Month?, New Week?). 

I would like to know when and if the Account History is set to zero for the VPS platform, to be able to manage this issue in my EA.

Thank you in advance!

Best,

Nicolae