Is possible to sort OrdersHistoryTotal() by symbol ?
I want to get history data by symbol using an EA ? Is it possible ? If yes, can you suggest a code ?
- AccountBalance() and array
- How to control orders numbers per pair using an EA ?
- Request for Metatrader Account History and Report
for(int cnt = 0 ; cnt <= OrdersHistoryTotal() ; cnt++) { OrderSelect(cnt, SELECT_BY_POS, MODE_HISTORY); if (OrderSymbol()== "EURUSD") { //DO SOMETHING } }