A Median Price is simply an average of one period’s high and low values.
A Median Price is often used as an alternative way of viewing price action and also as a component for calculating other technical indicators.
set smaMP = SMA(MP(), 14)
set BUY = CROSSOVER(CLOSE, smaMP)
Evaluates to buy when the close crossed over the 14-day SMA of the Median