OrderSelect(,,MODE_HISTORY)
In a live metatrader account, does it store all closed positions from the first time i opened an account with a broker?
I wanted to make an expert advisor that calculates my winrate on a certain pair. I need to find out the data limit mt4 handles. Can I go say, 100 trades back? Will that still be available or would that have been deleted by mt4? If so, how about 500 trades? 1000? What is the limit? Is there any?
I guess an answer to this question will also reveal the maximum possible integer output for OrdersTotal, if there is any.