Roberto Mesquita / Publications
Forum
Array loop problems!! Why array elements are zero? OrdersTotal is grather than 2 in my case.
double mypool[][ 2 ]; int secondticket, lastTicket, count; double secondPrice, lastPrice, dif; for ( int i= 0 ; i< OrdersTotal (); i++) { if ( OrderSelect (i,SELECT_BY_POS,MODE_TRADES)== false ) break ; if ( (OrderMagicNumber()==MAGICMA_n) &&