WebCab Technical Analysis Web Services for Delphi v1.1

Filters.MedianPrice Method 

Evaluates the Median Price of an asset for a given trading period.

public double MedianPrice(
   double high,
   double low
);

Parameters

high
The traded high of the asset within the trading period under consideration.
low
The traded low of the asset within the trading period under consideration.

Return Value

Double value giving the median price for the period considered.

Remarks

The Median price is just the midpoint of the trading periods range.

Exceptions

Exception TypeCondition
ArgumentExceptionThrown if the high or low are strictly negative.

See Also

Filters Class | Indicators Namespace | MedianPriceOverPeriod - evaluates the Median price for a number of periods.