MedianPrice (Function)
The MedianPrice function returns the median (mid) price of a bar.
Syntax
MedianPrice
Returns (Double)
A numeric value containing the median bar price.
Parameters
None
Remarks
The median price is the sum of the High and Low of a bar divided by two or (H+L)/2.
Example
Assigns to Value1 the median price of 5 bars ago.
Value1 = MedianPrice[5];