BINTARI Uchiha / Publications
Forum
Can anyone help me about order select?
Dear the mql5 master coder. I need help with coding mql5 that doesn't work. Here is the code. Mql4 work smoothly: double LOSS( int m) { double a= 0 ; for ( int cnt = OrdersHistoryTotal()- 1 ; cnt >= 0 ; cnt--) { if ( OrderSelect (cnt,SELECT_BY_POS,MODE_HISTORY)) if (OrderSymbol()