How to find highest price after buy

 
Is there a built in way to do this with MQL? Something like, high(openorder)? Or do I have to get in the mess of setting up dynamic arrays?
 

double highestPriceAfterBuy = High[iHighest(NULL, 0, MODE_HIGH, iBarShift(NULL, 0, OrderOpenTime()), 0)];

Reason: