Evaluates the Typical Price of an asset over a number of trading periods.
A double array where the first term is the typical price for the last trading period, the second term is the previous periods typical price and so on.
Note that the Typical Price for each of the trading periods considered is just the arithmetic average of the high, low and closing price of the asset over that period. 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 time periods considered could be (for example) months or years.
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.
| Exception Type | Condition |
|---|---|
| ArgumentException | Thrown if the length of the array parameters high, low or closing, is not the same or if any elements of any one of these array's has a negative element. |
Filters Class | Indicators Namespace | TypicalPrice - evaluates the typical price of an asset for a single trading period.