now i can get the last/newest position info buy this code
PositionSelect(_Symbol) ;
ulong position_ID=PositionGetInteger(POSITION_IDENTIFIER);
long create_time_msc=PositionGetInteger(POSITION_TIME_MSC);
long update_time_sec=PositionGetInteger(POSITION_TIME_UPDATE);
long update_time_msc=PositionGetInteger(POSITION_TIME_UPDATE_MSC);
my problem is that i need to get the oldest open position by ticket id
Hello,
now i can get the last/newest position info buy this code
my problem is that i need to get the oldest open position by ticket id
thanks in advance;