Rodrigo R. Mills / Publications
Forum
How i can history trade information on MQL5
Dear I have a MQL4 EA, now i am plan to convert MQL5. i did all coding. just i can't convert only below MQL4 coding for ( int i = 0 ; i < OrdersHistoryTotal (); i++) { if ( OrderSelect (i, SELECT_BY_POS , MODE_HISTORY )) { if ( OrderSymbol () == Symbol () && ( OrderType () ==