WebCab Technical Analysis Web Services for Delphi v1.1

Filters.TypicalPrice Method 

Evaluates the Typical Price of an asset within a given trading period.

public double TypicalPrice(
   double high,
   double low,
   double closing
);

Parameters

high
The highest traded price of the asset within the trading period considered.
low
The lowest traded price of the asset within the trading period considered.
closing
The closing price of the asset on the trading period considered.

Return Value

Double value giving the typical value of a trading period.

Remarks

The typical price is just the arithmetic average of the high, low and closing price for the trading period considered. Generally speaking the period considered will be a single trading period, however the typical price is equally applicable to other time spans and hence the period considered could be (for example) a month or year.

Applications

The Typical Price is often used in place of the closing price in the development of trading systems in which either another intra-period system is used from the intra-period timing of trades, or when the trading party is given discretion on intra-period trading decisions.

Exceptions

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

See Also

Filters Class | Indicators Namespace | TypicalPriceOverPeriod - evaluates the typical price over a number of periods.