I know what is "SELECT_BY_TICKET" in OrderSelect(), but how about "SELECT_BY_POS "??? thanks for your help
read the Book?
i did read this,but i could not understand. it said "SELECT_BY_POS - in the parameter 'index', the order number in the list is returned (the numbering starts with 0)",
but what is order number in the list? what list??
for(pos = OrdersTotal()-1; pos >= 0 ; pos--) if (
OrderSelect(pos, SELECT_BY_POS) // Only my orders w/
&& OrderMagicNumber() == magic.number // my magic number
&& OrderSymbol() == Symbol() // and my pair.
sorry, i'm programming this 4 months now, and i don't get it.
what is the value returned on the OrderSelect function? and what do i do when i have more orders?
i'm really trying but this is becoming noisy to me.
thanks in advance.