MEDPRICE is simply the average of High, and Low.
You can use MEDPRICE instead of price when you need to compare price with other indicators, e.g. MA, BBANDS, etc.
See Also: AVGPRICE, TYPPRICE, WCLPRICE.