current high and low for order

 

Will this return the high and low for an order opened until the current bar?

If so, will it return the same number on every time frame?

double iDifferenceBSCO= (iBarShift(NULL, 0, OrderOpenTime()) - iBarShift(NULL, 0, iTime(NULL,0,0)) );

double iHOCShift=iHighest(NULL,0,MODE_HIGH, iDifferenceBSCO,  iBarShift(NULL, 0, OrderOpenTime()));

double iLOCShift=iLowest(NULL,0,MODE_LOW,  iDifferenceBSCO,  iBarShift(NULL, 0, OrderOpenTime()));



Reason: