![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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.