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.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
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