OrderHistoryTotal() function question

 
How many Orders is kept in the pool such that this function will count the orders that were closed in the past?
 
Here.
 
jeemba2012:
How many Orders is kept in the pool such that this function will count the orders that were closed in the past?
That is for your Broker to decide . . .
 
It is not for the broker to decide you can set that yourself, go to the account history in the terminal, right click on one of the header tabs, you can set the history length. I believe by default it is set to 1 month. OrdersHistoryTotal() will reflect your settings,.
 
SDC:
It is not for the broker to decide you can set that yourself,
It has been mentioned on this Forum that some Brokers will delete old entries from the Trade History . . .
Reason: