m.cadile / Publications
Forum
Get Magic Number and Symbol from Open Position
I do not understand why this function do not give me back the magic number and the symbol of the position that is open long magic; ulong ticket; string symbol; ulong total=PositionsTotal(); for(int i=total-1; i>=0; i--){ ticket=PositionGetTicket(i); PositionSelect(ticket);