I have seen several references to OrdersTotalHistory but haven't found what is kept in History and - if it can be changed - then how.
I currently see that I have OrdersTotalHistory() having a value of 41 but no idea what period this refers to.
Equally not sure if there could be no items in History for 1 currency if the lastest transaction was say - using the above value - 42+ transactions away.
The reason I am looking at this is I don't want to open a new position inside the same timeframe as the previous position.
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.
I have seen several references to OrdersTotalHistory but haven't found what is kept in History and - if it can be changed - then how.
I currently see that I have OrdersTotalHistory() having a value of 41 but no idea what period this refers to.
Equally not sure if there could be no items in History for 1 currency if the lastest transaction was say - using the above value - 42+ transactions away.
The reason I am looking at this is I don't want to open a new position inside the same timeframe as the previous position.
Thanks for any help.